Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007797/0.007797, allocations: 93.48 kB / 15.91 MB, free: 6.273 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.001175/0.001175, allocations: 202.4 kB / 16.84 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 222.7 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09203/0.09203, allocations: 12.59 MB / 282.6 MB, free: 8.844 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 87.88 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.142, allocations: 49.39 MB / 392.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.0037/0.1458, allocations: 1.495 MB / 393.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.1461, allocations: 99.69 kB / 393.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.1462, allocations: 0 / 393.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.1462, allocations: 0 / 393.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.1463, allocations: 0 / 393.8 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1465, allocations: 27.91 kB / 393.8 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.1466, allocations: 27.88 kB / 393.8 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1468, allocations: 11.98 kB / 393.8 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.1468, allocations: 8 kB / 393.8 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.1469, allocations: 11.92 kB / 393.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.1469, allocations: 0 / 393.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.1469, allocations: 0 / 393.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.147, allocations: 15.92 kB / 393.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.147, allocations: 3.938 kB / 393.9 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.638e-05/0.1471, allocations: 28.19 kB / 393.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1471, allocations: 0 / 393.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1471, allocations: 4 kB / 393.9 MB, free: 1.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1471, allocations: 0 / 393.9 MB, free: 1.973 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.0004665/0.1476, allocations: 335.5 kB / 394.2 MB, free: 1.594 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1477, allocations: 8.031 kB / 394.2 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1477, allocations: 12.78 kB / 394.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1479, allocations: 172.4 kB / 394.4 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.148, allocations: 384 / 394.4 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.148, allocations: 4.375 kB / 394.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.1484, allocations: 111.8 kB / 394.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1484, allocations: 192 / 394.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1484, allocations: 7.875 kB / 394.5 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.1484, allocations: 0 / 394.5 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.1485, allocations: 11.98 kB / 394.6 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.1487, allocations: 157.6 kB / 394.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1489, allocations: 46.56 kB / 394.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.681e-05/0.149, allocations: 24.92 kB / 394.8 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.149, allocations: 0 / 394.8 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.1491, allocations: 34.56 kB / 394.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 3.777e-06/0.1491, allocations: 3.938 kB / 394.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003695/0.1494, allocations: 77.55 kB / 394.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.1495, allocations: 51.41 kB / 394.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.1496, allocations: 105.8 kB / 395 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1496, allocations: 25.7 kB / 395.1 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.1497, allocations: 80.14 kB / 395.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.07e-05/0.1497, allocations: 4 kB / 395.2 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.1498, allocations: 13.72 kB / 395.2 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1499, allocations: 314.8 kB / 395.5 MB, free: 184 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.1499, allocations: 11.98 kB / 395.5 MB, free: 172 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.15, allocations: 27.81 kB / 395.5 MB, free: 132 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.1501, allocations: 31.44 kB / 395.5 MB, free: 88 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1501, allocations: 8 kB / 395.6 MB, free: 80 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.329e-05/0.1502, allocations: 65.47 kB / 395.6 MB, free: 8 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.1502, allocations: 4 kB / 395.6 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1502, allocations: 3.938 kB / 395.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.734e-05/0.1502, allocations: 4.141 kB / 395.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.1503, allocations: 3.984 kB / 395.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1503, allocations: 4 kB / 395.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.1503, allocations: 0 / 395.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1504, allocations: 4.062 kB / 395.6 MB, free: 15.98 MB / 302.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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.00012/0.1505, allocations: 113.8 kB / 395.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.1506, allocations: 57.62 kB / 395.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.1506, allocations: 7.438 kB / 395.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1506, allocations: 0 / 395.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1506, allocations: 4 kB / 395.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1507, allocations: 0 / 395.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1508, allocations: 153.7 kB / 396 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1508, allocations: 7.922 kB / 396 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.1508, allocations: 0 / 396 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1508, allocations: 4 kB / 396 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1508, allocations: 3.938 kB / 396 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1508, allocations: 4 kB / 396 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1508, allocations: 0 / 396 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.151, allocations: 80.97 kB / 396.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.151, allocations: 89.03 kB / 396.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.151, allocations: 7.938 kB / 396.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.837e-05/0.1511, allocations: 4 kB / 396.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-06/0.1511, allocations: 0 / 396.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1511, allocations: 0 / 396.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.647e-05/0.1511, allocations: 83.28 kB / 396.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1511, allocations: 0 / 396.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001918/0.1513, allocations: 8 kB / 396.3 MB, free: 15.26 MB / 302.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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001308/0.1515, allocations: 95.23 kB / 396.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1516, allocations: 24.12 kB / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1516, allocations: 4.062 kB / 396.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.82e-07/0.1516, allocations: 0 / 396.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1519, allocations: 27.97 kB / 396.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.1522, allocations: 111.3 kB / 396.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1525, allocations: 0.677 MB / 397.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.532e-05/0.1526, allocations: 256 / 397.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.1526, allocations: 15.44 kB / 397.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1526, allocations: 0 / 397.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002476/0.1551, allocations: 300.8 kB / 397.5 MB, free: 13.96 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches