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.001531/0.001531, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001686/0.001686, allocations: 212.7 kB / 24.48 MB, free: 3.977 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.59/1.59, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001648/0.001648, allocations: 47.92 kB / 378.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3952, allocations: 53.38 MB / 432.3 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004072/0.3993, allocations: 1.864 MB / 434.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.4018, allocations: 1.227 MB / 435.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.4019, allocations: 7.938 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.4023, allocations: 71.66 kB / 435.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003924/0.4027, allocations: 131.4 kB / 435.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.4034, allocations: 230.3 kB / 435.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.4037, allocations: 187.5 kB / 436 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.4038, allocations: 20.69 kB / 436.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.4039, allocations: 87.56 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.4041, allocations: 79.67 kB / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.4041, allocations: 12 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.4043, allocations: 71.95 kB / 436.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.4044, allocations: 59.7 kB / 436.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.4045, allocations: 55.61 kB / 436.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.4049, allocations: 239 kB / 436.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4049, allocations: 0 / 436.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4049, allocations: 0 / 436.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.4049, allocations: 4 kB / 436.7 MB, free: 2.547 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.000938/0.4059, allocations: 486.4 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4059, allocations: 11.97 kB / 437.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.801e-05/0.406, allocations: 24.8 kB / 437.2 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.4066, allocations: 225.5 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.4066, allocations: 8.375 kB / 437.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.4066, allocations: 12.11 kB / 437.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.407, allocations: 188.4 kB / 437.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.407, allocations: 0 / 437.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.4071, allocations: 8 kB / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4071, allocations: 0 / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.4072, allocations: 39.97 kB / 437.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.4078, allocations: 322 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.4081, allocations: 115.9 kB / 438.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.4082, allocations: 46.56 kB / 438.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.4082, allocations: 4 kB / 438.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.4084, allocations: 83.31 kB / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.4084, allocations: 0 / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004395/0.4089, allocations: 153.4 kB / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.409, allocations: 136.5 kB / 438.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.4095, allocations: 338.1 kB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.4096, allocations: 33.69 kB / 438.8 MB, free: 136 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.4098, allocations: 136.1 kB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.4098, allocations: 19.84 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.4098, allocations: 25.7 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.4101, allocations: 346.8 kB / 439.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.4101, allocations: 23.98 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.4104, allocations: 133.3 kB / 439.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.4106, allocations: 88.23 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4106, allocations: 4 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000264/0.4109, allocations: 125.4 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4109, allocations: 8 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4109, allocations: 0 / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4109, allocations: 4 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.411, allocations: 16.3 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.411, allocations: 4 kB / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.4111, allocations: 12.11 kB / 439.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.4111, allocations: 8 kB / 439.8 MB, free: 15.12 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.0001845/0.4113, allocations: 162.5 kB / 439.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.4114, allocations: 73.44 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.4118, allocations: 127.4 kB / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4118, allocations: 0 / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4118, allocations: 4 kB / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.4118, allocations: 0 / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.412, allocations: 185.1 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.412, allocations: 3.984 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.4121, allocations: 12 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4121, allocations: 0 / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4121, allocations: 4 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4121, allocations: 3.938 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4121, allocations: 4.062 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.4124, allocations: 182.5 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.4125, allocations: 35.84 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.4125, allocations: 4 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.4126, allocations: 11.98 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.4127, allocations: 11.98 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4127, allocations: 4 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002846/0.413, allocations: 245.2 kB / 440.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.413, allocations: 0 / 440.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.4133, allocations: 35.92 kB / 440.9 MB, free: 13.96 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 (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.001817/0.4151, allocations: 457.7 kB / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.4153, allocations: 83.84 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4153, allocations: 0 / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.4154, allocations: 27.98 kB / 441.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.4158, allocations: 67.11 kB / 441.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008928/0.4167, allocations: 372.9 kB / 441.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.4169, allocations: 136.3 kB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.294e-05/0.4169, allocations: 21.48 kB / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.417, allocations: 27.36 kB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.417, allocations: 4 kB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Templates: time 0.007769/0.4248, allocations: 3.135 MB / 445.2 MB, free: 9.816 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 -s cvode -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: 4.964798265005811]