Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001747/0.001747, allocations: 80.98 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002258/0.002258, allocations: 155.5 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.431/1.431, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.767e-05, allocations: 2.281 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002944/0.002971, allocations: 1.853 MB / 320.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.004585, allocations: 1.023 MB / 321.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.00471, allocations: 6.531 kB / 321.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006586/0.005368, allocations: 159.1 kB / 322 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.005703, allocations: 112.5 kB / 322.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.006302, allocations: 208.7 kB / 322.3 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.006571, allocations: 189.9 kB / 322.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.006683, allocations: 28.88 kB / 322.5 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.006837, allocations: 97.52 kB / 322.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.006961, allocations: 64.17 kB / 322.6 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.006991, allocations: 9.125 kB / 322.7 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.007143, allocations: 54.41 kB / 322.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.007213, allocations: 45.8 kB / 322.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.007275, allocations: 36.62 kB / 322.8 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.007712, allocations: 211.6 kB / 323 MB, free: 1.137 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.007718, allocations: 0 / 323 MB, free: 1.137 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.00772, allocations: 4 kB / 323 MB, free: 1.133 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.007728, allocations: 3.938 kB / 323 MB, free: 1.129 MB / 286.1 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.0009729/0.008701, allocations: 445.1 kB / 323.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.008759, allocations: 9.844 kB / 323.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.008846, allocations: 18.84 kB / 323.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.009223, allocations: 202.8 kB / 323.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.009244, allocations: 12.02 kB / 323.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.009266, allocations: 9.078 kB / 323.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.009625, allocations: 146.1 kB / 323.8 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.009641, allocations: 5.594 kB / 323.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.009654, allocations: 0 / 323.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.009661, allocations: 2.031 kB / 323.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.009769, allocations: 35.3 kB / 323.9 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.01019, allocations: 290.8 kB / 324.2 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.01043, allocations: 113.2 kB / 324.3 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/0.01052, allocations: 45.89 kB / 324.3 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.01055, allocations: 2 kB / 324.3 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.01076, allocations: 78.3 kB / 324.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.562e-06/0.01076, allocations: 1.062 kB / 324.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004155/0.01117, allocations: 141.2 kB / 324.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/0.01127, allocations: 114 kB / 324.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.01159, allocations: 270.2 kB / 324.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.01161, allocations: 30.58 kB / 324.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.01171, allocations: 115.8 kB / 325 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.01174, allocations: 20.12 kB / 325.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.01179, allocations: 24.41 kB / 325.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.01196, allocations: 328.8 kB / 325.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.01203, allocations: 21.16 kB / 325.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.01213, allocations: 67.09 kB / 325.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.01225, allocations: 55.94 kB / 325.5 MB, free: 15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01225, allocations: 4.031 kB / 325.6 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002019/0.01246, allocations: 96.8 kB / 325.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.01247, allocations: 6.297 kB / 325.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01248, allocations: 320 / 325.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.01249, allocations: 1.375 kB / 325.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.01257, allocations: 11.69 kB / 325.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.01259, allocations: 4.156 kB / 325.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.01265, allocations: 13.38 kB / 325.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.01266, allocations: 5.375 kB / 325.7 MB, free: 14.93 MB / 302.1 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,table.y) * 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.0001327/0.01279, allocations: 145.1 kB / 325.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.01288, allocations: 59.44 kB / 325.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.01316, allocations: 122.1 kB / 326 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01316, allocations: 1.375 kB / 326 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01317, allocations: 2.031 kB / 326 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01317, allocations: 0.5156 kB / 326 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.01337, allocations: 168.8 kB / 326.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01337, allocations: 1.375 kB / 326.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.01341, allocations: 10.91 kB / 326.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01341, allocations: 5.438 kB / 326.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01342, allocations: 2.031 kB / 326.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01343, allocations: 1.891 kB / 326.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.01343, allocations: 5.312 kB / 326.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.0137, allocations: 163.4 kB / 326.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.01377, allocations: 29.16 kB / 326.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.01381, allocations: 6.922 kB / 326.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/0.01387, allocations: 2.75 kB / 326.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.01391, allocations: 7.125 kB / 326.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.01392, allocations: 3.312 kB / 326.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.01414, allocations: 203.4 kB / 326.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01414, allocations: 3.938 kB / 326.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.0144, allocations: 26.59 kB / 326.6 MB, free: 14.25 MB / 302.1 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.001754/0.01615, allocations: 452.8 kB / 327.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.0164, allocations: 61.5 kB / 327.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.0164, allocations: 0 / 327.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/0.01648, allocations: 27.14 kB / 327.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.01691, allocations: 66.41 kB / 327.2 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.01768, allocations: 312.4 kB / 327.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.01783, allocations: 116.5 kB / 327.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.361e-05/0.01791, allocations: 29.91 kB / 327.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.01797, allocations: 18.8 kB / 327.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01797, allocations: 0 / 327.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of Templates: time 0.008056/0.02602, allocations: 2.524 MB / 330.2 MB, free: 13.18 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.332841977477074]