Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 117.5 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 46.89 kB / 300.2 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1329, allocations: 49.44 MB / 349.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.004629/0.1376, allocations: 1.472 MB / 351.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002627/0.1379, allocations: 35.84 kB / 351.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.494e-05/0.138, allocations: 0 / 351.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.1381, allocations: 0 / 351.2 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.1381, allocations: 3.938 kB / 351.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.1385, allocations: 23.97 kB / 351.2 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.718e-05/0.1386, allocations: 23.94 kB / 351.2 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1387, allocations: 15.98 kB / 351.3 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.1388, allocations: 11.94 kB / 351.3 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.1388, allocations: 11.92 kB / 351.3 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1389, allocations: 4 kB / 351.3 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.1389, allocations: 4 kB / 351.3 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.1389, allocations: 4 kB / 351.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.139, allocations: 19.86 kB / 351.3 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.1391, allocations: 31.89 kB / 351.3 MB, free: 2.988 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1391, allocations: 0 / 351.3 MB, free: 2.988 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1391, allocations: 4 kB / 351.3 MB, free: 2.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1391, allocations: 4 kB / 351.4 MB, free: 2.98 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005497/0.1397, allocations: 339.7 kB / 351.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.1398, allocations: 12.03 kB / 351.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.89e-05/0.1398, allocations: 34.75 kB / 351.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.1399, allocations: 8.844 kB / 351.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1401, allocations: 172.4 kB / 351.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1401, allocations: 8.312 kB / 351.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1402, allocations: 4.375 kB / 351.9 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.1407, allocations: 135.8 kB / 352.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1407, allocations: 3.938 kB / 352.1 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1407, allocations: 0 / 352.1 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1407, allocations: 0 / 352.1 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1409, allocations: 27.97 kB / 352.1 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.1411, allocations: 161.5 kB / 352.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.1413, allocations: 58.48 kB / 352.3 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1414, allocations: 28.92 kB / 352.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1414, allocations: 0 / 352.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1415, allocations: 30.56 kB / 352.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1415, allocations: 0 / 352.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003652/0.1419, allocations: 81.59 kB / 352.4 MB, free: 1.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.1419, allocations: 59.39 kB / 352.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1421, allocations: 105.9 kB / 352.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1421, allocations: 29.7 kB / 352.6 MB, free: 1.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.1421, allocations: 84.12 kB / 352.7 MB, free: 1.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.1422, allocations: 11.84 kB / 352.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.1422, allocations: 13.72 kB / 352.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1424, allocations: 314.8 kB / 353 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.1424, allocations: 7.984 kB / 353 MB, free: 1.051 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.44e-05/0.1425, allocations: 35.44 kB / 353.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.1425, allocations: 31.38 kB / 353.1 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1425, allocations: 4 kB / 353.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001327/0.1427, allocations: 61.69 kB / 353.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.1427, allocations: 14.75 kB / 353.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1427, allocations: 0 / 353.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1428, allocations: 0 / 353.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.1428, allocations: 11.98 kB / 353.2 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1429, allocations: 3.938 kB / 353.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.1429, allocations: 4 kB / 353.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1429, allocations: 0 / 353.2 MB, free: 0.8594 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.143, allocations: 113.8 kB / 353.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.1433, allocations: 73.58 kB / 353.4 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.1433, allocations: 7.906 kB / 353.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1433, allocations: 0 / 353.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.1433, allocations: 0 / 353.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1433, allocations: 8.25 kB / 353.4 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.1435, allocations: 157.7 kB / 353.6 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1435, allocations: 4 kB / 353.6 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/0.1436, allocations: 12.22 kB / 353.6 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1436, allocations: 7.938 kB / 353.6 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1436, allocations: 0 / 353.6 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1436, allocations: 7.938 kB / 353.6 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1436, allocations: 0 / 353.6 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1439, allocations: 89.09 kB / 353.7 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.1439, allocations: 84.95 kB / 353.8 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.144, allocations: 11.92 kB / 353.8 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.298e-05/0.144, allocations: 4 kB / 353.8 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-06/0.144, allocations: 0 / 353.8 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1441, allocations: 4 kB / 353.8 MB, free: 180 kB / 286.1 MB Notification: Performance of sorting global known variables: time 5.24e-05/0.1441, allocations: 87.27 kB / 353.9 MB, free: 92 kB / 286.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1441, allocations: 0 / 353.9 MB, free: 92 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1444, allocations: 8 kB / 353.9 MB, free: 84 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000742/0.1452, allocations: 0.6436 MB / 354.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1454, allocations: 40.09 kB / 354.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1454, allocations: 0 / 354.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.1454, allocations: 0 / 354.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.1459, allocations: 34.91 kB / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1474, allocations: 1.179 MB / 355.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1478, allocations: 0.6884 MB / 356.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.543e-05/0.1478, allocations: 0 / 356.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.1479, allocations: 11.44 kB / 356.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1479, allocations: 0 / 356.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.1635, allocations: 1.27 MB / 357.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/0.1639, allocations: 217.7 kB / 358 MB, free: 11.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.211, allocations: 0 / 358 MB, free: 11.97 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches