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.00143/0.00143, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001678/0.001678, allocations: 175.2 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9778/0.9778, allocations: 177.1 MB / 205.3 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.188e-05, allocations: 6.312 kB / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002589/0.002611, allocations: 1.981 MB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.004148, allocations: 1.273 MB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.00427, allocations: 8 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.004559, allocations: 63.61 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.00485, allocations: 139.3 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.005354, allocations: 223.1 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.00556, allocations: 191.4 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.373e-05/0.005644, allocations: 26.38 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.00576, allocations: 99.78 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.005855, allocations: 63.81 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.005874, allocations: 8 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.006026, allocations: 75.81 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.006089, allocations: 59.77 kB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.006129, allocations: 31.86 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.006355, allocations: 195.3 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006358, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.006359, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.006362, allocations: 4 kB / 277.9 MB, free: 12.79 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.000413/0.006775, allocations: 445.1 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.006805, allocations: 12.03 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.006843, allocations: 20.92 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.007038, allocations: 212.7 kB / 278.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.007052, allocations: 4.375 kB / 278.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.007063, allocations: 8.375 kB / 278.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.007247, allocations: 137.9 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.007255, allocations: 3.938 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.007263, allocations: 4 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.007267, allocations: 0 / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.007303, allocations: 22.75 kB / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.007552, allocations: 211.5 kB / 279 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.007661, allocations: 137.4 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.007688, allocations: 26.56 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.007705, allocations: 15.88 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.729e-05/0.007782, allocations: 58.22 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.007783, allocations: 0 / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001334/0.007917, allocations: 85.59 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.007962, allocations: 115 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.008113, allocations: 262.7 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.008128, allocations: 25.7 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.00817, allocations: 112.6 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.008194, allocations: 15.83 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.008228, allocations: 29.66 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.008311, allocations: 338.8 kB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.008327, allocations: 6.828 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.008359, allocations: 48.28 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/0.008408, allocations: 51.52 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.00841, allocations: 8.031 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.471e-05/0.008485, allocations: 68.44 kB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.008496, allocations: 4 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.008499, allocations: 0 / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.008508, allocations: 0 / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.00857, allocations: 19.92 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.008573, allocations: 0 / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.008605, allocations: 4 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.008611, allocations: 4 kB / 280.4 MB, free: 10.07 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 6.804e-05/0.008679, allocations: 115.1 kB / 280.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.008722, allocations: 69.55 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.318e-05/0.008815, allocations: 75.44 kB / 280.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008816, allocations: 0 / 280.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.008818, allocations: 0 / 280.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.008821, allocations: 4 kB / 280.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.937e-05/0.008911, allocations: 117.7 kB / 280.7 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.008913, allocations: 3.984 kB / 280.7 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.008952, allocations: 15.94 kB / 280.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.008954, allocations: 0 / 280.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.008963, allocations: 15.98 kB / 280.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008964, allocations: 0 / 280.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.008965, allocations: 0 / 280.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.173e-05/0.009047, allocations: 108.5 kB / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.009088, allocations: 31.78 kB / 280.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.00911, allocations: 7.938 kB / 280.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.00914, allocations: 7.984 kB / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.009175, allocations: 15.92 kB / 280.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.009187, allocations: 4.062 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.59e-05/0.009263, allocations: 105.6 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009263, allocations: 4 kB / 281.1 MB, free: 9.309 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001349/0.009398, allocations: 27.94 kB / 281.1 MB, free: 9.281 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.001028/0.01043, allocations: 0.5126 MB / 281.6 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.274e-05/0.01052, allocations: 40.78 kB / 281.6 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.01052, allocations: 0 / 281.6 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.01056, allocations: 28.83 kB / 281.7 MB, free: 8.926 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.01074, allocations: 65.56 kB / 281.7 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.01111, allocations: 335.5 kB / 282.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.346e-05/0.01116, allocations: 83.97 kB / 282.1 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.531e-05/0.0112, allocations: 17.48 kB / 282.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.01128, allocations: 83.3 kB / 282.2 MB, free: 8.297 MB / 266.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01128, allocations: 192 / 282.2 MB, free: 8.297 MB / 266.7 MB Notification: Performance of Templates: time 0.004578/0.01586, allocations: 3.145 MB / 285.4 MB, free: 5.203 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.683344669174403]