Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001551/0.001551, allocations: 110.3 kB / 16.51 MB, free: 6.715 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.001678/0.001678, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.506/1.506, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 50.17 kB / 300 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1301, allocations: 49.44 MB / 349.4 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.004339/0.1345, allocations: 1.487 MB / 350.9 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000492/0.135, allocations: 99.69 kB / 351 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.1351, allocations: 0 / 351 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.1352, allocations: 0 / 351 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.1352, allocations: 3.938 kB / 351 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1356, allocations: 19.97 kB / 351 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1357, allocations: 27.88 kB / 351 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1358, allocations: 11.98 kB / 351 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.1359, allocations: 4 kB / 351 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.136, allocations: 23.91 kB / 351.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.136, allocations: 0 / 351.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.136, allocations: 0 / 351.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.1361, allocations: 7.938 kB / 351.1 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.1361, allocations: 7.938 kB / 351.1 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.1362, allocations: 23.91 kB / 351.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1363, allocations: 0 / 351.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1363, allocations: 0 / 351.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1363, allocations: 0 / 351.1 MB, free: 3.129 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.0005586/0.1368, allocations: 343.7 kB / 351.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1369, allocations: 11.97 kB / 351.5 MB, free: 2.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.137, allocations: 8.844 kB / 351.5 MB, free: 2.723 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1372, allocations: 176.3 kB / 351.6 MB, free: 2.512 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.1373, allocations: 384 / 351.6 MB, free: 2.512 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1373, allocations: 4.375 kB / 351.6 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.1377, allocations: 111.8 kB / 351.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1378, allocations: 192 / 351.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1378, allocations: 3.938 kB / 351.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1378, allocations: 0 / 351.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.1379, allocations: 12 kB / 351.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.1381, allocations: 157.7 kB / 351.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1384, allocations: 50.53 kB / 352 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.1385, allocations: 24.89 kB / 352 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1385, allocations: 0 / 352 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1386, allocations: 30.56 kB / 352 MB, free: 2.043 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/0.1386, allocations: 0 / 352 MB, free: 2.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003096/0.1389, allocations: 69.53 kB / 352.1 MB, free: 1.969 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.139, allocations: 55.34 kB / 352.1 MB, free: 1.902 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1391, allocations: 109.8 kB / 352.3 MB, free: 1.785 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1392, allocations: 29.7 kB / 352.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1393, allocations: 84.14 kB / 352.4 MB, free: 1.664 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.847e-06/0.1393, allocations: 3.938 kB / 352.4 MB, free: 1.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.1394, allocations: 21.7 kB / 352.4 MB, free: 1.633 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1396, allocations: 310.8 kB / 352.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.1396, allocations: 4 kB / 352.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.064e-05/0.1397, allocations: 31.42 kB / 352.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.864e-05/0.1398, allocations: 39.38 kB / 352.8 MB, free: 1.223 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1398, allocations: 0 / 352.8 MB, free: 1.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/0.1399, allocations: 53.62 kB / 352.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.14, allocations: 8.125 kB / 352.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.14, allocations: 3.938 kB / 352.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.14, allocations: 4 kB / 352.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.1401, allocations: 3.938 kB / 352.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1401, allocations: 4 kB / 352.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.1401, allocations: 0 / 352.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1402, allocations: 4 kB / 352.8 MB, free: 1.137 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: 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.0001075/0.1403, allocations: 113.8 kB / 353 MB, free: 1.016 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.1405, allocations: 53.59 kB / 353 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.1405, allocations: 19.42 kB / 353 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1405, allocations: 0 / 353 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1406, allocations: 4 kB / 353 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1406, allocations: 336 / 353 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1408, allocations: 157.6 kB / 353.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1408, allocations: 0 / 353.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.1408, allocations: 3.938 kB / 353.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.1408, allocations: 3.984 kB / 353.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1409, allocations: 3.938 kB / 353.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1409, allocations: 4 kB / 353.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1409, allocations: 0 / 353.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1411, allocations: 81.11 kB / 353.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.1412, allocations: 81.02 kB / 353.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1412, allocations: 7.938 kB / 353.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.513e-05/0.1412, allocations: 0 / 353.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-06/0.1413, allocations: 0 / 353.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1413, allocations: 256 / 353.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.442e-05/0.1413, allocations: 91.27 kB / 353.5 MB, free: 424 kB / 286.1 MB Notification: Performance of sort global known variables: time 3.186e-06/0.1414, allocations: 4 kB / 353.5 MB, free: 420 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.1417, allocations: 7.938 kB / 353.5 MB, free: 412 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: 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.0001484/0.1419, allocations: 99.19 kB / 353.6 MB, free: 300 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.142, allocations: 27.92 kB / 353.6 MB, free: 272 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1421, allocations: 0 / 353.6 MB, free: 272 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.1421, allocations: 0 / 353.6 MB, free: 272 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1425, allocations: 20.22 kB / 353.6 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.1428, allocations: 121.9 kB / 353.7 MB, free: 104 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1432, allocations: 0.677 MB / 354.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.896e-05/0.1433, allocations: 3.984 kB / 354.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.1433, allocations: 11.44 kB / 354.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1433, allocations: 0 / 354.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Templates: time 0.00338/0.1467, allocations: 300.7 kB / 354.7 MB, free: 15.09 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches