Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009639/0.0009639, allocations: 84.86 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000968/0.000968, allocations: 164 kB / 24.91 MB, free: 8.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.849/0.849, allocations: 177 MB / 205.2 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.254e-05, allocations: 2.312 kB / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002369/0.002382, allocations: 1.935 MB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003642, allocations: 1.183 MB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.003736, allocations: 7.938 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.004183, allocations: 147.4 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.004449, allocations: 167.3 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.004752, allocations: 175.3 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.004931, allocations: 195.3 kB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.333e-05/0.005004, allocations: 22.45 kB / 277.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.00511, allocations: 95.78 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.005191, allocations: 67.8 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.005211, allocations: 12 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.721e-05/0.005308, allocations: 63.83 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.005361, allocations: 51.77 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.005398, allocations: 35.86 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.005573, allocations: 155.5 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-06/0.005575, allocations: 0 / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005575, allocations: 3.938 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.005578, allocations: 0 / 277.7 MB, free: 12.93 MB / 266.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.0003718/0.00595, allocations: 421.3 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.524e-05/0.005975, allocations: 15.98 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.006007, allocations: 16.92 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.006198, allocations: 209.5 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.006213, allocations: 12.31 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.006224, allocations: 4.375 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.006375, allocations: 125.2 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.006381, allocations: 192 / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.006388, allocations: 384 / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.006395, allocations: 11.94 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.006424, allocations: 18.75 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.006632, allocations: 199.6 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.006733, allocations: 134.6 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.006757, allocations: 26.56 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.006772, allocations: 8 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.859e-05/0.006851, allocations: 74.09 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.006852, allocations: 0 / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001277/0.006979, allocations: 81.59 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.007024, allocations: 110.8 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.007167, allocations: 230.7 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.007181, allocations: 33.64 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.007223, allocations: 104.5 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.007243, allocations: 19.88 kB / 279.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.007274, allocations: 25.7 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.007348, allocations: 335 kB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.007362, allocations: 6.828 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.007393, allocations: 48.28 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.223e-05/0.007435, allocations: 43.34 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007437, allocations: 0 / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.436e-05/0.007501, allocations: 64.44 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.007512, allocations: 7.938 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.007516, allocations: 0 / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.007528, allocations: 3.984 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.412e-05/0.007572, allocations: 12.06 kB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.007575, allocations: 4 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.007604, allocations: 11.95 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.007609, allocations: 3.938 kB / 280 MB, free: 10.3 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 6.126e-05/0.00767, allocations: 116.7 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.007708, allocations: 57.56 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.007785, allocations: 71.44 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007788, allocations: 7.938 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.007789, allocations: 0 / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.007793, allocations: 4.375 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.278e-05/0.007875, allocations: 109.8 kB / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.007877, allocations: 4 kB / 280.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.007894, allocations: 8 kB / 280.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007896, allocations: 3.984 kB / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.007901, allocations: 0 / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.007904, allocations: 7.938 kB / 280.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007904, allocations: 3.938 kB / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.682e-05/0.007971, allocations: 104.7 kB / 280.5 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.008007, allocations: 27.83 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.008024, allocations: 15.98 kB / 280.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.084e-05/0.008055, allocations: 3.938 kB / 280.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.008076, allocations: 7.984 kB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.008084, allocations: 4 kB / 280.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.26e-05/0.008147, allocations: 85.59 kB / 280.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008147, allocations: 0 / 280.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001235/0.00827, allocations: 27.94 kB / 280.7 MB, free: 9.566 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.0009399/0.00921, allocations: 0.5002 MB / 281.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.472e-05/0.009295, allocations: 44.78 kB / 281.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.009299, allocations: 0 / 281.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.654e-05/0.009325, allocations: 16.86 kB / 281.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.009501, allocations: 61.25 kB / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.009828, allocations: 308.1 kB / 281.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.847e-05/0.009867, allocations: 75.83 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.009912, allocations: 21.88 kB / 281.7 MB, free: 8.672 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.009989, allocations: 87.28 kB / 281.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of SimCode: time 4.359e-06/0.009993, allocations: 0 / 281.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of Templates: time 0.004221/0.01421, allocations: 2.79 MB / 284.6 MB, free: 5.844 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5593710760585964]