Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001106/0.001106, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001621/0.002728, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001023/0.001023, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.002314, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9952/0.9952, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09344/1.089, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.306e-05, allocations: 6.25 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002852/0.002875, allocations: 1.987 MB / 247 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.004335, allocations: 1.214 MB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.00444, allocations: 7.938 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.004821, allocations: 147.4 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.005085, allocations: 171.2 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.005424, allocations: 174.6 kB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.00562, allocations: 191.4 kB / 248.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.005707, allocations: 26.38 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.005863, allocations: 143.7 kB / 249.1 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.005958, allocations: 63.8 kB / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.005977, allocations: 8 kB / 249.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.006094, allocations: 67.83 kB / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.006142, allocations: 35.86 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.006182, allocations: 31.88 kB / 249.3 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.006373, allocations: 147.4 kB / 249.4 MB, free: 9.238 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.006387, allocations: 0 / 249.4 MB, free: 9.238 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006388, allocations: 0 / 249.4 MB, free: 9.238 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.006405, allocations: 3.938 kB / 249.4 MB, free: 9.234 MB / 250.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.0004977/0.006902, allocations: 449 kB / 249.8 MB, free: 8.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.572e-05/0.006928, allocations: 12.03 kB / 249.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.006965, allocations: 12.92 kB / 249.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.007171, allocations: 217.5 kB / 250.1 MB, free: 8.504 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.007189, allocations: 12.38 kB / 250.1 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.007199, allocations: 4.375 kB / 250.1 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.00737, allocations: 121.2 kB / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.007378, allocations: 192 / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.007387, allocations: 384 / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007393, allocations: 7.938 kB / 250.2 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.007432, allocations: 22.73 kB / 250.2 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.007662, allocations: 211.6 kB / 250.5 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.007809, allocations: 122.5 kB / 250.6 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.007837, allocations: 26.58 kB / 250.6 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.007855, allocations: 7.984 kB / 250.6 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.452e-05/0.007949, allocations: 78.08 kB / 250.7 MB, free: 7.805 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 9.81e-07/0.00795, allocations: 0 / 250.7 MB, free: 7.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001245/0.008075, allocations: 81.59 kB / 250.8 MB, free: 7.719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.008118, allocations: 110.8 kB / 250.9 MB, free: 7.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.008252, allocations: 234.6 kB / 251.1 MB, free: 7.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.008266, allocations: 25.7 kB / 251.1 MB, free: 7.309 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.008312, allocations: 108.8 kB / 251.2 MB, free: 7.199 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.00833, allocations: 19.89 kB / 251.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.008358, allocations: 25.7 kB / 251.3 MB, free: 7.148 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.00843, allocations: 326.8 kB / 251.6 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.008442, allocations: 6.828 kB / 251.6 MB, free: 6.812 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.008475, allocations: 60.25 kB / 251.7 MB, free: 6.738 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.008511, allocations: 35.36 kB / 251.7 MB, free: 6.695 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008513, allocations: 0 / 251.7 MB, free: 6.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.801e-05/0.008571, allocations: 68.44 kB / 251.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.008582, allocations: 7.938 kB / 251.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.008586, allocations: 4.062 kB / 251.8 MB, free: 6.609 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-06/0.008594, allocations: 4 kB / 251.8 MB, free: 6.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.008646, allocations: 11.98 kB / 251.8 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.00865, allocations: 3.938 kB / 251.8 MB, free: 6.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.008677, allocations: 4 kB / 251.8 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.008684, allocations: 8 kB / 251.8 MB, free: 6.578 MB / 250.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 6.4e-05/0.008748, allocations: 116.6 kB / 251.9 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.008791, allocations: 61.86 kB / 252 MB, free: 6.387 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.139e-05/0.008883, allocations: 79.45 kB / 252.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.008884, allocations: 0 / 252.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.008887, allocations: 8 kB / 252.1 MB, free: 6.297 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008891, allocations: 0 / 252.1 MB, free: 6.297 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.964e-05/0.00898, allocations: 101.8 kB / 252.2 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008982, allocations: 0 / 252.2 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.009001, allocations: 12 kB / 252.2 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.009038, allocations: 23.88 kB / 252.2 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009039, allocations: 0 / 252.2 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.009045, allocations: 7.938 kB / 252.2 MB, free: 6.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.009047, allocations: 3.938 kB / 252.2 MB, free: 6.133 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009048, allocations: 4 kB / 252.2 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.319e-05/0.009121, allocations: 108.5 kB / 252.3 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.009137, allocations: 4 kB / 252.3 MB, free: 5.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.009172, allocations: 11.94 kB / 252.3 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.009201, allocations: 7.922 kB / 252.3 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.00921, allocations: 4 kB / 252.4 MB, free: 5.969 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.901e-05/0.009269, allocations: 81.61 kB / 252.4 MB, free: 5.887 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009269, allocations: 0 / 252.4 MB, free: 5.887 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001259/0.009395, allocations: 35.88 kB / 252.5 MB, free: 5.852 MB / 250.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.001132/0.01053, allocations: 0.5471 MB / 253 MB, free: 5.531 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.825e-05/0.01062, allocations: 40.77 kB / 253.1 MB, free: 5.488 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/0.01063, allocations: 4 kB / 253.1 MB, free: 5.484 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.072e-05/0.01066, allocations: 24.83 kB / 253.1 MB, free: 5.457 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.01086, allocations: 73.2 kB / 253.2 MB, free: 5.379 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.01133, allocations: 304.4 kB / 253.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.842e-05/0.01136, allocations: 79.81 kB / 253.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.0114, allocations: 21.61 kB / 253.5 MB, free: 4.93 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.01148, allocations: 79.36 kB / 253.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01148, allocations: 0 / 253.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of Templates: time 0.00418/0.01566, allocations: 2.828 MB / 256.5 MB, free: 2.07 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.5185302533209324]