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.001571/0.001571, allocations: 75.69 kB / 21.69 MB, free: 2.848 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.001039/0.001039, allocations: 166.5 kB / 24.99 MB, free: 8.809 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 1.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.57 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.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.172e-06/1.172e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329e-05/1.446e-05, allocations: 2.312 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.00249/0.002504, allocations: 1.94 MB / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.003985, allocations: 1.195 MB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.004109, allocations: 3.938 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.004719, allocations: 151.5 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.005074, allocations: 163.2 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.005494, allocations: 179.3 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.005722, allocations: 191.4 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.005825, allocations: 25.78 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.005953, allocations: 99.72 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.006054, allocations: 63.8 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.006075, allocations: 8 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.006192, allocations: 55.91 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.006257, allocations: 55.77 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.006309, allocations: 35.88 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.006552, allocations: 163.4 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006554, allocations: 0 / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006554, allocations: 0 / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.006558, allocations: 4 kB / 277.3 MB, free: 13.4 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.0005817/0.00714, allocations: 0.5362 MB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.007174, allocations: 15.92 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.007237, allocations: 28.8 kB / 277.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.007513, allocations: 228.3 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.007531, allocations: 8.359 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.007546, allocations: 8.375 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.0078, allocations: 140.6 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.007808, allocations: 192 / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.007819, allocations: 4.375 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.007829, allocations: 3.938 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.007884, allocations: 23.92 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.008485, allocations: 358.9 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.00863, allocations: 109.4 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.008679, allocations: 43.05 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.008697, allocations: 7.938 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.008799, allocations: 65.05 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.0088, allocations: 3.938 kB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002425/0.009042, allocations: 129.5 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.009093, allocations: 102.8 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.009316, allocations: 292.3 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.00933, allocations: 29.7 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.009409, allocations: 162.9 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.009431, allocations: 15.91 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.009474, allocations: 35.31 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.009601, allocations: 0.4962 MB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/0.009627, allocations: 12 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.009678, allocations: 68.94 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.009736, allocations: 43.36 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.009738, allocations: 0 / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001108/0.009849, allocations: 81.47 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.009861, allocations: 11.12 kB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.009865, allocations: 320 / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.009876, allocations: 0 / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.009937, allocations: 8 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.009943, allocations: 8 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.009987, allocations: 19.98 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.009992, allocations: 0 / 280.4 MB, free: 10.03 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 8.642e-05/0.01008, allocations: 164.5 kB / 280.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.01014, allocations: 69.42 kB / 280.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.01028, allocations: 99.38 kB / 280.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.01029, allocations: 0 / 280.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01029, allocations: 4 kB / 280.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01029, allocations: 0 / 280.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.01044, allocations: 176.6 kB / 280.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01044, allocations: 64 / 280.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.01047, allocations: 15.98 kB / 280.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01047, allocations: 3.938 kB / 280.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.01048, allocations: 0 / 280.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.01048, allocations: 4 kB / 280.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01049, allocations: 0 / 280.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.01067, allocations: 163.8 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.01073, allocations: 31.78 kB / 281.1 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.01076, allocations: 4 kB / 281.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.754e-05/0.0108, allocations: 11.98 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.01084, allocations: 3.938 kB / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.01086, allocations: 11.98 kB / 281.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.01099, allocations: 205.1 kB / 281.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01099, allocations: 0 / 281.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.01123, allocations: 27.94 kB / 281.3 MB, free: 8.961 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.0009362/0.01216, allocations: 395.1 kB / 281.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.01229, allocations: 47.61 kB / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01229, allocations: 0 / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.01233, allocations: 27.67 kB / 281.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.01265, allocations: 73.38 kB / 281.9 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.01305, allocations: 310.2 kB / 282.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.672e-05/0.0131, allocations: 75.83 kB / 282.2 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.264e-05/0.01315, allocations: 25.61 kB / 282.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.01319, allocations: 24.42 kB / 282.3 MB, free: 8.047 MB / 266.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01319, allocations: 0 / 282.3 MB, free: 8.047 MB / 266.7 MB Notification: Performance of Templates: time 0.004913/0.0181, allocations: 2.562 MB / 284.9 MB, free: 5.52 MB / 266.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 -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.993922285037115]