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.001383/0.001383, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001623/0.001623, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.003/1.003, allocations: 177 MB / 204.8 MB, free: 5.617 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 2.034e-06/2.034e-06, allocations: 0 / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.187e-05, allocations: 9.203 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003594/0.003626, allocations: 1.948 MB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.005705, allocations: 1.195 MB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.005866, allocations: 4 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.006587, allocations: 159.3 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.007068, allocations: 163.3 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.007618, allocations: 183.3 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.007906, allocations: 195.4 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.008025, allocations: 17.8 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.008195, allocations: 103.7 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.008324, allocations: 63.8 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.00835, allocations: 8 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.008518, allocations: 63.89 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.008601, allocations: 43.84 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.008668, allocations: 43.8 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.008993, allocations: 159.4 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.008998, allocations: 0 / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.008999, allocations: 0 / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.009005, allocations: 4 kB / 277.2 MB, free: 13.13 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.0007091/0.009714, allocations: 0.5362 MB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.009758, allocations: 11.98 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.054e-05/0.009839, allocations: 28.8 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.01016, allocations: 228.3 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.01019, allocations: 8.375 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.0102, allocations: 4.375 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.01052, allocations: 144.6 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.01053, allocations: 4.188 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.01054, allocations: 384 / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.01056, allocations: 3.938 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.278e-05/0.01062, allocations: 19.92 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.0111, allocations: 351 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.01129, allocations: 117.3 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.958e-05/0.01135, allocations: 43.05 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.01137, allocations: 11.88 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.01151, allocations: 69.05 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.01152, allocations: 0 / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.000315/0.01183, allocations: 125.6 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.01189, allocations: 106.8 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.01214, allocations: 288.3 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.01216, allocations: 29.7 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.01225, allocations: 166.8 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.01227, allocations: 15.91 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.01232, allocations: 31.33 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.01246, allocations: 0.5001 MB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.01249, allocations: 8 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.01256, allocations: 64.83 kB / 280.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.872e-05/0.01263, allocations: 47.62 kB / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.01263, allocations: 4 kB / 280.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001341/0.01276, allocations: 81.47 kB / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.01278, allocations: 10.81 kB / 280.3 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01279, allocations: 3.984 kB / 280.3 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.01281, allocations: 0 / 280.3 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.01289, allocations: 8 kB / 280.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.0129, allocations: 4 kB / 280.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.01295, allocations: 7.938 kB / 280.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.01296, allocations: 8.031 kB / 280.3 MB, free: 9.766 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.0001017/0.01306, allocations: 164.6 kB / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.233e-05/0.01314, allocations: 69.44 kB / 280.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.01333, allocations: 99.36 kB / 280.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01334, allocations: 0 / 280.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01334, allocations: 0 / 280.6 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01334, allocations: 4 kB / 280.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.01351, allocations: 172.6 kB / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01351, allocations: 0 / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.01355, allocations: 4.062 kB / 280.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.01355, allocations: 11.94 kB / 280.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.01356, allocations: 3.984 kB / 280.8 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.01357, allocations: 4 kB / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01357, allocations: 0 / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.01375, allocations: 167.8 kB / 281 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.01381, allocations: 31.78 kB / 281 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.01384, allocations: 8.062 kB / 281 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.0139, allocations: 11.97 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.01394, allocations: 4 kB / 281 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.01395, allocations: 4 kB / 281 MB, free: 8.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.01411, allocations: 213.1 kB / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01411, allocations: 0 / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.0144, allocations: 27.94 kB / 281.3 MB, free: 8.695 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.001164/0.01556, allocations: 395.6 kB / 281.7 MB, free: 8.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.01575, allocations: 51.59 kB / 281.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01575, allocations: 0 / 281.7 MB, free: 8.363 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.772e-05/0.01581, allocations: 31.66 kB / 281.7 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.01623, allocations: 65.31 kB / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.01696, allocations: 306.2 kB / 282.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.01701, allocations: 79.83 kB / 282.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.44e-05/0.0171, allocations: 21.62 kB / 282.2 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.01716, allocations: 20.48 kB / 282.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of SimCode: time 2.014e-06/0.01716, allocations: 0 / 282.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of Templates: time 0.004891/0.02205, allocations: 2.74 MB / 285 MB, free: 5.082 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: 3.008181647863239]