Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008873/0.0008873, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008859/0.0008859, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9802/0.9802, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.976e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.00277/0.0028, allocations: 1.921 MB / 269.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.00426, allocations: 1.024 MB / 270.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.004407, allocations: 7.938 kB / 270.9 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006552/0.005062, allocations: 151.5 kB / 271.1 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.005351, allocations: 127.4 kB / 271.2 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.005875, allocations: 195.3 kB / 271.4 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.006137, allocations: 187.4 kB / 271.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.006264, allocations: 17.8 kB / 271.6 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.00641, allocations: 95.67 kB / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.006519, allocations: 63.86 kB / 271.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.006546, allocations: 8 kB / 271.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.006683, allocations: 63.83 kB / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.00676, allocations: 51.83 kB / 271.9 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.006822, allocations: 35.86 kB / 271.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.0071, allocations: 155.4 kB / 272.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.007104, allocations: 0 / 272.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007105, allocations: 0 / 272.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.007112, allocations: 0 / 272.1 MB, free: 2.324 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006358/0.007748, allocations: 0.5362 MB / 272.6 MB, free: 1.746 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.00779, allocations: 8.031 kB / 272.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.007857, allocations: 20.84 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.008171, allocations: 236.3 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.008191, allocations: 384 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.008209, allocations: 8.359 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.008483, allocations: 136.6 kB / 273 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.008494, allocations: 3.938 kB / 273 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.008505, allocations: 7.938 kB / 273 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.008513, allocations: 0 / 273 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.008564, allocations: 27.92 kB / 273.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.008967, allocations: 343 kB / 273.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.009115, allocations: 121.2 kB / 273.5 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.009166, allocations: 47.05 kB / 273.6 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.009188, allocations: 0 / 273.6 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.00931, allocations: 69.05 kB / 273.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.009311, allocations: 0 / 273.6 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002368/0.009548, allocations: 121.5 kB / 273.7 MB, free: 460 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.009603, allocations: 110.8 kB / 273.8 MB, free: 324 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.009813, allocations: 284.3 kB / 274.1 MB, free: 20 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.009843, allocations: 29.7 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.009921, allocations: 158.9 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.009943, allocations: 15.91 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.009984, allocations: 31.44 kB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.01011, allocations: 0.4962 MB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.01014, allocations: 20.22 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/0.01019, allocations: 61.02 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/0.01024, allocations: 55.23 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01025, allocations: 0 / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001031/0.01035, allocations: 89.47 kB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01036, allocations: 4 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01037, allocations: 0 / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01038, allocations: 0 / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.01046, allocations: 12 kB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01046, allocations: 0 / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.0105, allocations: 19.98 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.01051, allocations: 0 / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001017/0.01061, allocations: 166.1 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.01067, allocations: 61.53 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.01082, allocations: 95.39 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01082, allocations: 0 / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01083, allocations: 4 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.01083, allocations: 3.984 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.01097, allocations: 176.5 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01097, allocations: 8 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.01099, allocations: 7.984 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.011, allocations: 4 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.01101, allocations: 0 / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01101, allocations: 0 / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01101, allocations: 4.062 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.01116, allocations: 163.6 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.01121, allocations: 35.84 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01123, allocations: 0 / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.01127, allocations: 11.98 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.01131, allocations: 8 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.01132, allocations: 7.984 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.01144, allocations: 197.1 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01144, allocations: 0 / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001922/0.01163, allocations: 31.92 kB / 276.1 MB, free: 13.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009579/0.01259, allocations: 394.7 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.01274, allocations: 55.59 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01274, allocations: 0 / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.01278, allocations: 27.66 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.01307, allocations: 75.5 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.01352, allocations: 301.8 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.01357, allocations: 75.83 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.01362, allocations: 17.48 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.01367, allocations: 16.5 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01367, allocations: 0 / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Templates: time 0.004931/0.0186, allocations: 2.53 MB / 279.5 MB, free: 10.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.915998816024512]