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.0009774/0.0009774, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005326/0.005326, allocations: 160.8 kB / 24.7 MB, free: 9.441 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.8926/0.8926, allocations: 177 MB / 204.9 MB, free: 5.719 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.733e-06/1.733e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.537e-05, allocations: 2.281 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.00229/0.002315, allocations: 1.897 MB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.003596, allocations: 1.133 MB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.003705, allocations: 7.938 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.004258, allocations: 155.4 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.004554, allocations: 167.2 kB / 329.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.004906, allocations: 163.4 kB / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.005126, allocations: 195.4 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.809e-05/0.005224, allocations: 21.78 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.005345, allocations: 107.7 kB / 329.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.096e-05/0.005436, allocations: 67.8 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.005455, allocations: 12 kB / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.005565, allocations: 55.91 kB / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.00562, allocations: 39.84 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.005669, allocations: 39.86 kB / 329.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.005915, allocations: 215.2 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.005917, allocations: 0 / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005919, allocations: 0 / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.005924, allocations: 4 kB / 330 MB, free: 11.09 MB / 298.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.0005528/0.006477, allocations: 442.7 kB / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.00651, allocations: 19.98 kB / 330.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.006558, allocations: 20.8 kB / 330.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.006804, allocations: 212.8 kB / 330.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.006817, allocations: 8.359 kB / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.006831, allocations: 8.375 kB / 330.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.007075, allocations: 136.9 kB / 330.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.007085, allocations: 8.172 kB / 330.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.007097, allocations: 8.375 kB / 330.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.007103, allocations: 3.938 kB / 330.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.007171, allocations: 39.91 kB / 330.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.007501, allocations: 286.2 kB / 331.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.00764, allocations: 107.9 kB / 331.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.007686, allocations: 42.56 kB / 331.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.007706, allocations: 15.92 kB / 331.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.007823, allocations: 75.33 kB / 331.4 MB, free: 9.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.007824, allocations: 0 / 331.4 MB, free: 9.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002459/0.00807, allocations: 141.5 kB / 331.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.008121, allocations: 106.8 kB / 331.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.008304, allocations: 289.8 kB / 332 MB, free: 8.953 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.008316, allocations: 25.7 kB / 332 MB, free: 8.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.00837, allocations: 120.3 kB / 332.1 MB, free: 8.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.00839, allocations: 23.84 kB / 332.1 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.008423, allocations: 29.66 kB / 332.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.0085, allocations: 326.8 kB / 332.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/0.008536, allocations: 19.98 kB / 332.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.008589, allocations: 68.27 kB / 332.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.008655, allocations: 53.7 kB / 332.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008657, allocations: 3.938 kB / 332.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001045/0.008761, allocations: 97.52 kB / 332.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.008773, allocations: 8.062 kB / 332.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.008778, allocations: 4.312 kB / 332.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.008788, allocations: 0 / 332.7 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.008844, allocations: 15.94 kB / 332.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.008849, allocations: 0 / 332.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.008883, allocations: 11.98 kB / 332.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.008889, allocations: 4 kB / 332.7 MB, free: 8.105 MB / 298.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 8.464e-05/0.008974, allocations: 138.6 kB / 332.9 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.009023, allocations: 65.44 kB / 332.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.009163, allocations: 123.7 kB / 333.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.009165, allocations: 0 / 333.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.00917, allocations: 4 kB / 333.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.009174, allocations: 3.984 kB / 333.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.009281, allocations: 161.2 kB / 333.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.009282, allocations: 0 / 333.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.0093, allocations: 8 kB / 333.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.009305, allocations: 3.938 kB / 333.2 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.009312, allocations: 4 kB / 333.2 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.009314, allocations: 3.938 kB / 333.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.009315, allocations: 0 / 333.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.009447, allocations: 166.6 kB / 333.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.009493, allocations: 39.78 kB / 333.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.009509, allocations: 0 / 333.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.009542, allocations: 11.98 kB / 333.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.009576, allocations: 4 kB / 333.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.009589, allocations: 8.078 kB / 333.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.009709, allocations: 205.1 kB / 333.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009709, allocations: 3.938 kB / 333.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.009874, allocations: 31.94 kB / 333.7 MB, free: 7.07 MB / 298.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.0006662/0.01054, allocations: 438.2 kB / 334.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.01067, allocations: 63.91 kB / 334.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01068, allocations: 0 / 334.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.01072, allocations: 31.92 kB / 334.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.01097, allocations: 55.86 kB / 334.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.01138, allocations: 354.6 kB / 334.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.312e-05/0.01145, allocations: 123.4 kB / 334.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.01149, allocations: 20.5 kB / 334.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01149, allocations: 3.938 kB / 334.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of Templates: time 0.003061/0.01455, allocations: 2.684 MB / 337.5 MB, free: 3.406 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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: 4.598181122913957]