Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001548/0.001548, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001775/0.001775, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.801/1.801, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 55.91 kB / 373.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1224, allocations: 53.32 MB / 426.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004629/0.127, allocations: 1.909 MB / 428.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.1299, allocations: 1.235 MB / 429.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.1301, allocations: 7.938 kB / 429.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008865/0.1309, allocations: 151.5 kB / 430.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.1314, allocations: 159.4 kB / 430.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.132, allocations: 178.9 kB / 430.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.1324, allocations: 187.5 kB / 430.6 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1325, allocations: 17.55 kB / 430.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1326, allocations: 83.62 kB / 430.7 MB, free: 392 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1328, allocations: 75.62 kB / 430.8 MB, free: 316 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.1328, allocations: 15.94 kB / 430.8 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1329, allocations: 63.95 kB / 430.9 MB, free: 236 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.411e-05/0.133, allocations: 43.84 kB / 430.9 MB, free: 192 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1331, allocations: 75.41 kB / 431 MB, free: 116 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2642/0.3973, allocations: 208.8 kB / 431.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3973, allocations: 0.6094 kB / 431.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3973, allocations: 0 / 431.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.3973, allocations: 0 / 431.2 MB, free: 8.43 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008883/0.3982, allocations: 0.5142 MB / 431.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3983, allocations: 11.12 kB / 431.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.3983, allocations: 22.67 kB / 431.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.3987, allocations: 273.4 kB / 432 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3987, allocations: 6.75 kB / 432 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3987, allocations: 8.625 kB / 432 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.399, allocations: 148.2 kB / 432.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.399, allocations: 0.8438 kB / 432.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3991, allocations: 2.984 kB / 432.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3991, allocations: 1.75 kB / 432.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.3992, allocations: 35.62 kB / 432.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.3996, allocations: 365.6 kB / 432.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.3998, allocations: 104.4 kB / 432.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.3999, allocations: 43.56 kB / 432.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.4, allocations: 7.234 kB / 432.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.4001, allocations: 72.44 kB / 432.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.4001, allocations: 0 / 432.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004213/0.4005, allocations: 145.5 kB / 432.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.4006, allocations: 135.6 kB / 433 MB, free: 7.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.4009, allocations: 270.1 kB / 433.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.4009, allocations: 29.44 kB / 433.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.401, allocations: 118.6 kB / 433.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.401, allocations: 23.59 kB / 433.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.4011, allocations: 34.41 kB / 433.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.4011, allocations: 332.5 kB / 433.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/0.4012, allocations: 26.59 kB / 433.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.4013, allocations: 67.02 kB / 433.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.4014, allocations: 77.95 kB / 434 MB, free: 6.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4014, allocations: 1.312 kB / 434 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002093/0.4016, allocations: 116.8 kB / 434.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4016, allocations: 6.062 kB / 434.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4016, allocations: 2.562 kB / 434.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4017, allocations: 3.688 kB / 434.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.4017, allocations: 12.77 kB / 434.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.4018, allocations: 5.609 kB / 434.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.4018, allocations: 7.359 kB / 434.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4018, allocations: 9.25 kB / 434.2 MB, free: 6.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001192/0.402, allocations: 143.9 kB / 434.3 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.402, allocations: 65.06 kB / 434.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.4021, allocations: 22.89 kB / 434.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4021, allocations: 3.562 kB / 434.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4021, allocations: 4 kB / 434.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.4021, allocations: 6 kB / 434.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.4023, allocations: 235.1 kB / 434.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4023, allocations: 0 / 434.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.4023, allocations: 4.469 kB / 434.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4023, allocations: 1.312 kB / 434.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4023, allocations: 6.781 kB / 434.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4023, allocations: 2.828 kB / 434.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4023, allocations: 0 / 434.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.4025, allocations: 165.5 kB / 434.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.4026, allocations: 105.8 kB / 434.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.4026, allocations: 4.578 kB / 434.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/0.4027, allocations: 7.375 kB / 434.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.4027, allocations: 4.594 kB / 434.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4027, allocations: 12.03 kB / 434.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.4029, allocations: 202.8 kB / 435.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4029, allocations: 0 / 435.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00027/0.4032, allocations: 37.45 kB / 435.2 MB, free: 5.66 MB / 350.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001595/0.4048, allocations: 418.4 kB / 435.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.4051, allocations: 63.11 kB / 435.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4051, allocations: 1.406 kB / 435.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.4052, allocations: 29.8 kB / 435.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.4056, allocations: 62.02 kB / 435.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.4063, allocations: 315.4 kB / 436 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.4065, allocations: 0.7332 MB / 436.8 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.512e-05/0.4066, allocations: 26.31 kB / 436.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.4066, allocations: 25.28 kB / 436.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4066, allocations: 0 / 436.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of Templates: time 0.008787/0.4154, allocations: 2.465 MB / 439.3 MB, free: 4.406 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.61088453233242]