Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001486/0.001486, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001662/0.001662, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.514/1.514, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 51.92 kB / 374.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.119, allocations: 53.33 MB / 427.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002938/0.1219, allocations: 1.428 MB / 428.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001776/0.1221, allocations: 27.91 kB / 428.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.1221, allocations: 4 kB / 428.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.1222, allocations: 7.875 kB / 428.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.184e-05/0.1222, allocations: 3.938 kB / 428.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1225, allocations: 26.59 kB / 429 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.411e-05/0.1226, allocations: 23.92 kB / 429 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1227, allocations: 12 kB / 429 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.1227, allocations: 15.92 kB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.1227, allocations: 19.91 kB / 429 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1228, allocations: 4 kB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.1228, allocations: 0 / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.1228, allocations: 4 kB / 429.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.1228, allocations: 11.94 kB / 429.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.911e-05/0.1229, allocations: 27.84 kB / 429.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1229, allocations: 3.984 kB / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1229, allocations: 0 / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1229, allocations: 0 / 429.1 MB, free: 2.68 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.000478/0.1234, allocations: 343.5 kB / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1234, allocations: 8.031 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.1235, allocations: 4.875 kB / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1237, allocations: 188.2 kB / 429.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.1237, allocations: 384 / 429.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1237, allocations: 8.375 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000352/0.1241, allocations: 119.8 kB / 429.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1241, allocations: 4.125 kB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1241, allocations: 3.938 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1241, allocations: 0 / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1242, allocations: 15.98 kB / 429.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.1244, allocations: 165.7 kB / 429.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1246, allocations: 42.56 kB / 430 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.1246, allocations: 32.84 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1246, allocations: 4 kB / 430 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1247, allocations: 34.56 kB / 430.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1247, allocations: 0 / 430.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000268/0.1249, allocations: 81.55 kB / 430.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.125, allocations: 51.41 kB / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/0.1251, allocations: 105.8 kB / 430.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1251, allocations: 25.7 kB / 430.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.1252, allocations: 88.14 kB / 430.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.1252, allocations: 4 kB / 430.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.1252, allocations: 21.66 kB / 430.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1254, allocations: 314.8 kB / 430.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.1254, allocations: 4 kB / 430.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.372e-05/0.1254, allocations: 27.44 kB / 430.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.046e-05/0.1255, allocations: 39.38 kB / 430.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1255, allocations: 0 / 430.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.233e-05/0.1256, allocations: 65.58 kB / 430.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1256, allocations: 4 kB / 430.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1256, allocations: 8.062 kB / 430.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1256, allocations: 7.938 kB / 430.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.1257, allocations: 7.984 kB / 430.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1257, allocations: 0 / 430.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.1257, allocations: 3.938 kB / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1257, allocations: 7.984 kB / 430.9 MB, free: 0.6211 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: 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 8.318e-05/0.1258, allocations: 113.8 kB / 431 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.1259, allocations: 57.67 kB / 431.1 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.126, allocations: 15.44 kB / 431.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.126, allocations: 0 / 431.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.126, allocations: 0 / 431.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.126, allocations: 0 / 431.1 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1261, allocations: 157.7 kB / 431.2 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1261, allocations: 0 / 431.2 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.1261, allocations: 7.938 kB / 431.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1261, allocations: 0 / 431.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1261, allocations: 8.312 kB / 431.3 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1261, allocations: 3.938 kB / 431.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1261, allocations: 0 / 431.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1263, allocations: 93.06 kB / 431.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.1264, allocations: 85.09 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1264, allocations: 3.938 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.084e-05/0.1264, allocations: 4 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-06/0.1264, allocations: 4 kB / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.1264, allocations: 0 / 431.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.1265, allocations: 79.28 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1265, allocations: 0 / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001918/0.1267, allocations: 8 kB / 431.5 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: 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.0001197/0.1268, allocations: 103.2 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.1269, allocations: 28.2 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1269, allocations: 0 / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1269, allocations: 4 kB / 431.7 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.0002349/0.1272, allocations: 22.27 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.1275, allocations: 151.5 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1278, allocations: 0.6846 MB / 432.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.1278, allocations: 11.44 kB / 432.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1278, allocations: 0 / 432.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of Templates: time 0.002093/0.1299, allocations: 0.6005 MB / 433.1 MB, free: 14.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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: 6.801984938996611]