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.002289/0.002289, allocations: 80.34 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002379/0.002379, allocations: 157.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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.462/1.462, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.633e-06/1.633e-06, allocations: 0 / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.817e-05, allocations: 2.281 kB / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003712/0.003741, allocations: 1.889 MB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.0061, allocations: 1.166 MB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.006231, allocations: 7.219 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006602/0.006891, allocations: 150.9 kB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004355/0.007326, allocations: 163.5 kB / 328.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.00786, allocations: 185.8 kB / 328.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.008172, allocations: 191.9 kB / 328.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.008311, allocations: 24.03 kB / 328.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.008502, allocations: 95.56 kB / 328.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.008646, allocations: 64.69 kB / 328.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.008677, allocations: 13.12 kB / 328.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.008846, allocations: 64.97 kB / 329 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.008939, allocations: 49.17 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.009017, allocations: 32.19 kB / 329.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.009429, allocations: 211.8 kB / 329.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.009433, allocations: 1.375 kB / 329.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.009434, allocations: 0 / 329.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.00944, allocations: 3.938 kB / 329.3 MB, free: 13.93 MB / 302.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.0008319/0.01027, allocations: 449.6 kB / 329.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.01031, allocations: 14.39 kB / 329.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.01038, allocations: 25.77 kB / 329.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.01073, allocations: 209 kB / 330 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.01075, allocations: 8.281 kB / 330 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.01077, allocations: 4.875 kB / 330 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.01112, allocations: 143.3 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.01113, allocations: 192 / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.01115, allocations: 5.531 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.01115, allocations: 5.094 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.01127, allocations: 40.7 kB / 330.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.01175, allocations: 303.6 kB / 330.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.01201, allocations: 105.5 kB / 330.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.254e-05/0.0121, allocations: 45.11 kB / 330.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.01213, allocations: 6.828 kB / 330.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.01229, allocations: 74.64 kB / 330.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.0123, allocations: 0 / 330.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003811/0.01268, allocations: 146.4 kB / 330.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.01276, allocations: 110.2 kB / 330.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.01307, allocations: 277.9 kB / 331.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.01309, allocations: 31.05 kB / 331.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.01318, allocations: 119.8 kB / 331.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.0132, allocations: 11.88 kB / 331.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.01325, allocations: 37.78 kB / 331.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.0134, allocations: 327.5 kB / 331.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.01346, allocations: 18.27 kB / 331.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.01355, allocations: 70.55 kB / 331.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.01367, allocations: 52.7 kB / 331.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01367, allocations: 0 / 331.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001858/0.01386, allocations: 102 kB / 332 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01387, allocations: 5.375 kB / 332 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01387, allocations: 1.094 kB / 332 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01389, allocations: 9.359 kB / 332 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.01397, allocations: 8.656 kB / 332 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.01397, allocations: 1.062 kB / 332 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.01403, allocations: 11.28 kB / 332 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.01404, allocations: 3 kB / 332 MB, free: 11.64 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.0001288/0.01417, allocations: 143.7 kB / 332.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.01426, allocations: 72.11 kB / 332.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.01451, allocations: 118.1 kB / 332.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01451, allocations: 10.44 kB / 332.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01452, allocations: 0 / 332.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01452, allocations: 1.188 kB / 332.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.0147, allocations: 162.5 kB / 332.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.0147, allocations: 1.031 kB / 332.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.01474, allocations: 10.27 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.01474, allocations: 5 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.01475, allocations: 2.156 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01476, allocations: 1.156 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01476, allocations: 0.8125 kB / 332.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.01502, allocations: 166 kB / 332.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.01509, allocations: 34.62 kB / 332.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.01513, allocations: 6.438 kB / 332.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.154e-05/0.01519, allocations: 2.75 kB / 332.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.01523, allocations: 6.891 kB / 332.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.01525, allocations: 4.375 kB / 332.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.01546, allocations: 203.1 kB / 332.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01546, allocations: 96 / 332.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000267/0.01573, allocations: 36.89 kB / 333 MB, free: 10.89 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.001639/0.01737, allocations: 446.4 kB / 333.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.01758, allocations: 61.5 kB / 333.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01759, allocations: 1.438 kB / 333.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.638e-05/0.01766, allocations: 23.23 kB / 333.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.01807, allocations: 62.89 kB / 333.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.01866, allocations: 330.7 kB / 333.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.01879, allocations: 120.5 kB / 334 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.734e-05/0.01886, allocations: 22.31 kB / 334 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.01891, allocations: 22.64 kB / 334 MB, free: 10.2 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01891, allocations: 0 / 334 MB, free: 10.2 MB / 302.1 MB Notification: Performance of Templates: time 0.00644/0.02535, allocations: 2.539 MB / 336.6 MB, free: 8.906 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.441881872713566]