Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001456/0.001456, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00202/0.00202, allocations: 160.5 kB / 24.55 MB, free: 20 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.023/1.023, allocations: 177 MB / 204.8 MB, free: 5.586 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.023e-05/4.314e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00339/0.003433, allocations: 1.94 MB / 274.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.005456, allocations: 1.273 MB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.005645, allocations: 7.938 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.006224, allocations: 63.59 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005354/0.00676, allocations: 135.4 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009207/0.00768, allocations: 235.1 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.008059, allocations: 183.5 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.008231, allocations: 25.69 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.008433, allocations: 99.72 kB / 276.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.008574, allocations: 75.78 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.008599, allocations: 8 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.008793, allocations: 67.94 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.868e-05/0.008892, allocations: 55.78 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.008964, allocations: 43.84 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.009328, allocations: 191.2 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.009334, allocations: 0 / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.009337, allocations: 0 / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.009345, allocations: 0 / 277.3 MB, free: 13.04 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.0007364/0.01008, allocations: 0.5672 MB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.01013, allocations: 11.98 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/0.01022, allocations: 36.73 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.01052, allocations: 227.5 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.01055, allocations: 8.375 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.01056, allocations: 4.375 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.01091, allocations: 160.9 kB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.01092, allocations: 192 / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.01093, allocations: 384 / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.01095, allocations: 3.938 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.521e-05/0.01101, allocations: 27.92 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.0115, allocations: 371 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.01168, allocations: 113.3 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.01174, allocations: 43.05 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.01176, allocations: 7.938 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.0119, allocations: 72.98 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.655e-06/0.01191, allocations: 4 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002828/0.01219, allocations: 129.4 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.01225, allocations: 106.8 kB / 279.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.01252, allocations: 324.3 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.01254, allocations: 25.7 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.01263, allocations: 186.8 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.01266, allocations: 19.84 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.01271, allocations: 31.36 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.01287, allocations: 0.5043 MB / 280.2 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.01291, allocations: 15.98 kB / 280.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.01297, allocations: 68.69 kB / 280.3 MB, free: 9.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.69e-05/0.01304, allocations: 43.62 kB / 280.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01304, allocations: 0 / 280.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001226/0.01317, allocations: 93.42 kB / 280.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.01319, allocations: 11.11 kB / 280.5 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01319, allocations: 0 / 280.5 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.01321, allocations: 4 kB / 280.5 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.01331, allocations: 8.062 kB / 280.5 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.01332, allocations: 4 kB / 280.5 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.01336, allocations: 4 kB / 280.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.01337, allocations: 7.984 kB / 280.5 MB, free: 9.523 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 9.502e-05/0.01346, allocations: 164.5 kB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.01353, allocations: 69.48 kB / 280.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.0137, allocations: 107.4 kB / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01371, allocations: 0 / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01371, allocations: 0 / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.01372, allocations: 8.062 kB / 280.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.01388, allocations: 184.5 kB / 281 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01388, allocations: 4 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.01394, allocations: 15.98 kB / 281 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.01395, allocations: 7.938 kB / 281 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.01396, allocations: 3.938 kB / 281 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01396, allocations: 0 / 281 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.01396, allocations: 4 kB / 281 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.01413, allocations: 163.6 kB / 281.2 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.01419, allocations: 43.72 kB / 281.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.01422, allocations: 12.06 kB / 281.3 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/0.01426, allocations: 4 kB / 281.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.01431, allocations: 7.984 kB / 281.3 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.01433, allocations: 11.92 kB / 281.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.01448, allocations: 225.1 kB / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01448, allocations: 0 / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.01469, allocations: 32 kB / 281.5 MB, free: 8.387 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.001072/0.01576, allocations: 393.7 kB / 281.9 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.01592, allocations: 47.61 kB / 282 MB, free: 8.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01592, allocations: 0 / 282 MB, free: 8.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.01597, allocations: 31.67 kB / 282 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.01628, allocations: 77.78 kB / 282.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.01679, allocations: 341.1 kB / 282.4 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.026e-05/0.01685, allocations: 83.97 kB / 282.5 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.971e-05/0.01691, allocations: 21.62 kB / 282.5 MB, free: 7.457 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.01696, allocations: 24.48 kB / 282.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of SimCode: time 1.322e-06/0.01696, allocations: 0 / 282.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of Templates: time 0.006102/0.02306, allocations: 3.108 MB / 285.6 MB, free: 4.359 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.9779220479540527]