Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 47.92 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2567, allocations: 53.36 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003649/0.2604, allocations: 1.923 MB / 434.3 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.2627, allocations: 1.329 MB / 435.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.2629, allocations: 7.938 kB / 435.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.2632, allocations: 71.66 kB / 435.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.2636, allocations: 131.4 kB / 435.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.2643, allocations: 234.5 kB / 436.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.2646, allocations: 179.5 kB / 436.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2647, allocations: 25.72 kB / 436.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2648, allocations: 75.7 kB / 436.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.265, allocations: 83.67 kB / 436.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.265, allocations: 8 kB / 436.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.2652, allocations: 79.81 kB / 436.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.2653, allocations: 55.81 kB / 436.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.551e-05/0.2654, allocations: 71.5 kB / 436.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.2657, allocations: 248.2 kB / 436.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.2658, allocations: 3.938 kB / 436.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2658, allocations: 4 kB / 436.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2658, allocations: 0 / 436.9 MB, free: 2.414 MB / 334.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.0007479/0.2665, allocations: 478.4 kB / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2665, allocations: 12.03 kB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.2666, allocations: 20.8 kB / 437.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.2671, allocations: 233.5 kB / 437.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.2671, allocations: 12.38 kB / 437.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.2671, allocations: 12.11 kB / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.2675, allocations: 151.6 kB / 437.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2675, allocations: 3.984 kB / 437.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2675, allocations: 7.984 kB / 437.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.2675, allocations: 3.938 kB / 437.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.2676, allocations: 39.92 kB / 437.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.2682, allocations: 357.5 kB / 438.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.2684, allocations: 111.9 kB / 438.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/0.2685, allocations: 50.48 kB / 438.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2686, allocations: 0 / 438.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.2687, allocations: 79.39 kB / 438.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2687, allocations: 0 / 438.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004165/0.2692, allocations: 153.4 kB / 438.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.2693, allocations: 162.2 kB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.2697, allocations: 346.1 kB / 439.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.2697, allocations: 29.64 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2698, allocations: 128.1 kB / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.2698, allocations: 19.89 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.2699, allocations: 25.72 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.27, allocations: 342.8 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.2701, allocations: 23.98 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.2702, allocations: 86.84 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.2704, allocations: 80.22 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2704, allocations: 8 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002353/0.2706, allocations: 121.4 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2706, allocations: 8 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2706, allocations: 0 / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2707, allocations: 0 / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.2708, allocations: 23.92 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2708, allocations: 7.938 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/0.2709, allocations: 11.94 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2709, allocations: 8.125 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001757/0.271, allocations: 158.5 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.2711, allocations: 73.45 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.2714, allocations: 119.3 kB / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2714, allocations: 0 / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2714, allocations: 384 / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2714, allocations: 7.938 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.2716, allocations: 208.7 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2717, allocations: 8 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.2717, allocations: 19.94 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2717, allocations: 0 / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.2717, allocations: 3.984 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2717, allocations: 4 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2717, allocations: 0 / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.272, allocations: 170.5 kB / 440.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/0.2721, allocations: 35.91 kB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.2721, allocations: 4 kB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.2722, allocations: 7.984 kB / 440.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.2723, allocations: 8 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.2723, allocations: 11.92 kB / 440.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002606/0.2725, allocations: 245.2 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2725, allocations: 0 / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.2728, allocations: 35.92 kB / 441.1 MB, free: 13.83 MB / 350.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 (9): * Single equations (assignments): 7 * 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.001515/0.2743, allocations: 441.6 kB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.2746, allocations: 71.89 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2746, allocations: 0 / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.959e-05/0.2746, allocations: 27.98 kB / 441.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.275, allocations: 58.83 kB / 441.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/0.2758, allocations: 410.7 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.2762, allocations: 0.7398 MB / 442.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.2762, allocations: 19.44 kB / 442.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2762, allocations: 4 kB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Templates: time 0.006116/0.2823, allocations: 2.971 MB / 445.8 MB, free: 9.203 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.191187001997605]