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.0008247/0.0008247, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.003283/0.003283, allocations: 156.7 kB / 24.7 MB, free: 8.895 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 0.8631/0.8631, allocations: 177 MB / 204.9 MB, free: 5.762 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 1.332e-06/1.332e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.247e-05, allocations: 2.984 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002255/0.002277, allocations: 1.878 MB / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.003642, allocations: 1.23 MB / 328.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.003738, allocations: 3.938 kB / 328.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.004014, allocations: 83.47 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.004285, allocations: 131.4 kB / 329.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.0047, allocations: 226.5 kB / 329.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.004894, allocations: 187.4 kB / 329.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.004993, allocations: 21.73 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.005101, allocations: 107.7 kB / 329.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.005196, allocations: 75.78 kB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.005216, allocations: 8 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.005332, allocations: 63.95 kB / 329.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.005402, allocations: 55.83 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.005459, allocations: 43.78 kB / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.005721, allocations: 239.2 kB / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005723, allocations: 0 / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005723, allocations: 11.88 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.005728, allocations: 0 / 330.1 MB, free: 11.05 MB / 298.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.0005284/0.006256, allocations: 470.6 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.006288, allocations: 15.98 kB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.006335, allocations: 24.78 kB / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.006602, allocations: 236.7 kB / 330.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.006615, allocations: 8.312 kB / 330.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.006628, allocations: 4.375 kB / 330.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.006893, allocations: 181 kB / 331 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.006901, allocations: 192 / 331 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.006912, allocations: 4.375 kB / 331 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.006918, allocations: 7.938 kB / 331 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.268e-05/0.006991, allocations: 47.88 kB / 331.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.007318, allocations: 306.2 kB / 331.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.00747, allocations: 115.9 kB / 331.5 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.007524, allocations: 50.56 kB / 331.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.007544, allocations: 15.92 kB / 331.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.007657, allocations: 71.33 kB / 331.6 MB, free: 9.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.007658, allocations: 0 / 331.6 MB, free: 9.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002465/0.007905, allocations: 161.4 kB / 331.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.007967, allocations: 140.4 kB / 331.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.008185, allocations: 333.9 kB / 332.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.008198, allocations: 29.7 kB / 332.3 MB, free: 8.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.008262, allocations: 132.3 kB / 332.4 MB, free: 8.512 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.008281, allocations: 19.83 kB / 332.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.008316, allocations: 29.7 kB / 332.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.251e-05/0.008399, allocations: 330.8 kB / 332.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.008443, allocations: 23.98 kB / 332.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.008508, allocations: 110.8 kB / 332.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.538e-05/0.008583, allocations: 65.58 kB / 333 MB, free: 7.898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.008585, allocations: 0 / 333 MB, free: 7.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001153/0.0087, allocations: 113.8 kB / 333.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.008711, allocations: 8.062 kB / 333.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.008716, allocations: 0 / 333.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.008726, allocations: 0 / 333.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.008788, allocations: 23.92 kB / 333.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.008792, allocations: 0 / 333.1 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.008826, allocations: 4 kB / 333.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.008832, allocations: 7.938 kB / 333.1 MB, free: 7.738 MB / 298.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.786e-05/0.00892, allocations: 145.8 kB / 333.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.008973, allocations: 73.42 kB / 333.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.009132, allocations: 131.7 kB / 333.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.009134, allocations: 4 kB / 333.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.009137, allocations: 0 / 333.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.00914, allocations: 0 / 333.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.009255, allocations: 177.2 kB / 333.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009257, allocations: 4 kB / 333.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.009292, allocations: 8 kB / 333.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.009296, allocations: 7.938 kB / 333.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.009306, allocations: 7.984 kB / 333.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.009307, allocations: 3.938 kB / 333.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.009308, allocations: 8 kB / 333.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.009461, allocations: 166.6 kB / 333.9 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.009513, allocations: 43.72 kB / 333.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.009532, allocations: 7.984 kB / 333.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.952e-05/0.009562, allocations: 0 / 333.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.009602, allocations: 11.98 kB / 333.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.009614, allocations: 4 kB / 333.9 MB, free: 6.879 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.009766, allocations: 253.2 kB / 334.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009766, allocations: 0 / 334.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.009926, allocations: 35.94 kB / 334.2 MB, free: 6.598 MB / 298.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.0006686/0.01059, allocations: 446.8 kB / 334.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.01074, allocations: 71.91 kB / 334.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01074, allocations: 0 / 334.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.091e-05/0.01079, allocations: 31.92 kB / 334.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01103, allocations: 67.58 kB / 334.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.0115, allocations: 413.9 kB / 335.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.772e-05/0.01159, allocations: 131.9 kB / 335.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.01163, allocations: 28.42 kB / 335.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01163, allocations: 0 / 335.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of Templates: time 0.003269/0.0149, allocations: 2.995 MB / 338.4 MB, free: 2.527 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.569775085896254]