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.001866/0.001866, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002127/0.002127, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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 1.282e-06/1.282e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.825e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003939/0.003967, allocations: 1.902 MB / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.006452, allocations: 1.156 MB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.006598, allocations: 3.938 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007047/0.007302, allocations: 155.4 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004923/0.007795, allocations: 163.3 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.008387, allocations: 179.2 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.008727, allocations: 187.5 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.008845, allocations: 25.78 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.009081, allocations: 103.7 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.009227, allocations: 67.8 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.009258, allocations: 8 kB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.009423, allocations: 59.89 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.009509, allocations: 43.84 kB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.278e-05/0.009592, allocations: 43.84 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.009992, allocations: 207.2 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.009995, allocations: 4 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.009996, allocations: 0 / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.01, allocations: 0 / 276.6 MB, free: 13.52 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.0008553/0.01086, allocations: 450.7 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.0109, allocations: 12.03 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.011, allocations: 28.8 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.0114, allocations: 212.8 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.01142, allocations: 8.375 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.01144, allocations: 8.375 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.01182, allocations: 146.4 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.01183, allocations: 3.938 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.01185, allocations: 3.938 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.01185, allocations: 0 / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.01198, allocations: 31.98 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.01254, allocations: 302 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.01281, allocations: 115.8 kB / 277.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.01293, allocations: 42.56 kB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.01295, allocations: 0 / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.01315, allocations: 87.31 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.01315, allocations: 0 / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004304/0.01358, allocations: 145.7 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.01368, allocations: 114.8 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.01405, allocations: 273.9 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.01408, allocations: 33.64 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.01419, allocations: 120.1 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.01421, allocations: 11.91 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.01427, allocations: 29.67 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.01446, allocations: 330.8 kB / 279.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.01453, allocations: 23.98 kB / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.01464, allocations: 64.27 kB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.01477, allocations: 61.67 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.01478, allocations: 0 / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002265/0.01501, allocations: 101.5 kB / 279.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01502, allocations: 4 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01503, allocations: 0 / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.01504, allocations: 0 / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.01513, allocations: 15.98 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01513, allocations: 0 / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.0152, allocations: 4 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.0152, allocations: 32 / 279.3 MB, free: 10.54 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,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.0001636/0.01537, allocations: 157.6 kB / 279.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.01548, allocations: 69.55 kB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.01578, allocations: 119.4 kB / 279.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01578, allocations: 4 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01579, allocations: 0 / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01579, allocations: 0 / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.01599, allocations: 161.2 kB / 279.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.016, allocations: 4 kB / 279.8 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.01604, allocations: 4.375 kB / 279.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.01604, allocations: 7.984 kB / 279.8 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.01606, allocations: 8 kB / 279.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01606, allocations: 0 / 279.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01606, allocations: 0 / 279.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.01637, allocations: 174.5 kB / 280 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.01645, allocations: 35.78 kB / 280.1 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.01648, allocations: 0 / 280.1 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.01655, allocations: 8 kB / 280.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.01659, allocations: 7.984 kB / 280.1 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.01661, allocations: 4 kB / 280.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002558/0.01686, allocations: 209.1 kB / 280.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01686, allocations: 0 / 280.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.01713, allocations: 31.94 kB / 280.3 MB, free: 9.469 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,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.002002/0.01913, allocations: 444 kB / 280.7 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.01935, allocations: 59.91 kB / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01935, allocations: 0 / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.01944, allocations: 27.98 kB / 280.8 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.01989, allocations: 76 kB / 280.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000662/0.02055, allocations: 334.4 kB / 281.2 MB, free: 8.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.0207, allocations: 115.4 kB / 281.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.331e-05/0.02078, allocations: 29.81 kB / 281.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.02084, allocations: 24.48 kB / 281.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02084, allocations: 0 / 281.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of Templates: time 0.007067/0.0279, allocations: 2.564 MB / 284 MB, free: 5.984 MB / 266.7 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: 4.496306481072679]