Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.691/1.691, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 51.91 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1344, allocations: 53.33 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00403/0.1384, allocations: 1.446 MB / 428.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004076/0.1388, allocations: 99.67 kB / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.139, allocations: 0 / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.893e-05/0.139, allocations: 7.938 kB / 428.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.1391, allocations: 3.938 kB / 428.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.1394, allocations: 15.97 kB / 428.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.1395, allocations: 27.92 kB / 428.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1397, allocations: 8 kB / 428.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.1397, allocations: 11.92 kB / 428.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/0.1397, allocations: 11.94 kB / 428.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1398, allocations: 4 kB / 428.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.1398, allocations: 4 kB / 428.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.1398, allocations: 7.984 kB / 428.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.1398, allocations: 15.92 kB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.14, allocations: 23.84 kB / 428.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.14, allocations: 0 / 428.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.14, allocations: 0 / 428.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.14, allocations: 4 kB / 428.5 MB, free: 2.59 MB / 350.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.0005436/0.1405, allocations: 331.4 kB / 428.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1406, allocations: 16.03 kB / 428.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1406, allocations: 0.9375 kB / 428.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1409, allocations: 188.2 kB / 429 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1409, allocations: 384 / 429 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1409, allocations: 384 / 429 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.1413, allocations: 107.9 kB / 429.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1413, allocations: 4.125 kB / 429.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1413, allocations: 7.938 kB / 429.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1413, allocations: 0 / 429.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.1414, allocations: 15.98 kB / 429.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.1415, allocations: 153.7 kB / 429.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1417, allocations: 46.53 kB / 429.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.1418, allocations: 28.88 kB / 429.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1418, allocations: 0 / 429.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.1418, allocations: 34.56 kB / 429.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1418, allocations: 0 / 429.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002543/0.1421, allocations: 69.56 kB / 429.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.1422, allocations: 55.34 kB / 429.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1423, allocations: 105.8 kB / 429.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1423, allocations: 29.7 kB / 429.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.1423, allocations: 84.14 kB / 429.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.216e-06/0.1423, allocations: 0 / 429.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.1424, allocations: 13.72 kB / 429.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1425, allocations: 322.8 kB / 430.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.1425, allocations: 0 / 430.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-05/0.1426, allocations: 27.44 kB / 430.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.1426, allocations: 39.38 kB / 430.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1426, allocations: 0 / 430.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.392e-05/0.1427, allocations: 57.62 kB / 430.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1427, allocations: 6.312 kB / 430.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1427, allocations: 7.938 kB / 430.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1428, allocations: 4 kB / 430.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.1428, allocations: 11.92 kB / 430.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1428, allocations: 0 / 430.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.1428, allocations: 3.938 kB / 430.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1428, allocations: 4 kB / 430.2 MB, free: 0.5977 MB / 350.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 9.372e-05/0.1429, allocations: 110.1 kB / 430.3 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.1431, allocations: 57.64 kB / 430.4 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.1431, allocations: 11.44 kB / 430.4 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1431, allocations: 4 kB / 430.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1431, allocations: 0 / 430.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1431, allocations: 0 / 430.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.1432, allocations: 157.7 kB / 430.6 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1432, allocations: 0 / 430.6 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.1433, allocations: 3.938 kB / 430.6 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1433, allocations: 0 / 430.6 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1433, allocations: 11.94 kB / 430.6 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1433, allocations: 0 / 430.6 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1433, allocations: 3.938 kB / 430.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1434, allocations: 81.11 kB / 430.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.1435, allocations: 89 kB / 430.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1435, allocations: 3.938 kB / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.1435, allocations: 0 / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-06/0.1435, allocations: 0 / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1435, allocations: 0 / 430.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.1436, allocations: 83.28 kB / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1436, allocations: 8 kB / 430.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.1438, allocations: 0 / 430.8 MB, free: 15.88 MB / 366.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.0001391/0.1439, allocations: 107.2 kB / 430.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.144, allocations: 16.38 kB / 431 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.144, allocations: 0 / 431 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.144, allocations: 3.984 kB / 431 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.1443, allocations: 19.97 kB / 431 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.1446, allocations: 118 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1449, allocations: 0.6807 MB / 431.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.301e-05/0.1449, allocations: 0 / 431.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.1449, allocations: 7.438 kB / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1449, allocations: 0 / 431.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of Templates: time 0.002927/0.1478, allocations: 324.5 kB / 432.1 MB, free: 14.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.151743687689304]