Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002406/0.002406, allocations: 195.7 kB / 22.75 MB, free: 5.719 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 43.92 kB / 369.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3379, allocations: 52.13 MB / 421.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.00392/0.3418, allocations: 1.892 MB / 423.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.344, allocations: 1.138 MB / 424.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.3441, allocations: 4 kB / 424.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.3445, allocations: 67.66 kB / 424.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.3449, allocations: 95.58 kB / 424.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009298/0.3458, allocations: 253.2 kB / 424.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.3462, allocations: 171.5 kB / 424.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3463, allocations: 21.55 kB / 424.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.3465, allocations: 79.62 kB / 425 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3466, allocations: 79.67 kB / 425.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.3467, allocations: 8 kB / 425.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.3469, allocations: 71.89 kB / 425.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.347, allocations: 47.83 kB / 425.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3471, allocations: 75.48 kB / 425.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.3475, allocations: 236.5 kB / 425.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3475, allocations: 4 kB / 425.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3475, allocations: 4 kB / 425.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3475, allocations: 0 / 425.5 MB, free: 11.07 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.0009094/0.3484, allocations: 0.5387 MB / 426 MB, free: 10.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3485, allocations: 11.89 kB / 426 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.182e-05/0.3486, allocations: 24.8 kB / 426.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.349, allocations: 299.7 kB / 426.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.349, allocations: 8.312 kB / 426.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3491, allocations: 12.12 kB / 426.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.3494, allocations: 151.6 kB / 426.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3494, allocations: 4 kB / 426.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3495, allocations: 0 / 426.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3495, allocations: 0 / 426.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3496, allocations: 39.92 kB / 426.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.3502, allocations: 378.4 kB / 426.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.3505, allocations: 119.9 kB / 427.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.3506, allocations: 46.5 kB / 427.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.3506, allocations: 12.06 kB / 427.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.3508, allocations: 75.38 kB / 427.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.3508, allocations: 0 / 427.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004358/0.3512, allocations: 157.4 kB / 427.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.3513, allocations: 162.2 kB / 427.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.3517, allocations: 330.9 kB / 427.8 MB, free: 8.457 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3517, allocations: 29.7 kB / 427.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3518, allocations: 120.1 kB / 428 MB, free: 8.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.3519, allocations: 15.91 kB / 428 MB, free: 8.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.3519, allocations: 41.59 kB / 428 MB, free: 8.238 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3521, allocations: 334.8 kB / 428.4 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.3522, allocations: 23.98 kB / 428.4 MB, free: 7.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3523, allocations: 86.86 kB / 428.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.3525, allocations: 84.16 kB / 428.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3525, allocations: 4 kB / 428.6 MB, free: 7.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002503/0.3527, allocations: 117.5 kB / 428.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3528, allocations: 8 kB / 428.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3528, allocations: 0 / 428.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3528, allocations: 4 kB / 428.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3529, allocations: 23.92 kB / 428.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3529, allocations: 4 kB / 428.7 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/0.353, allocations: 12.02 kB / 428.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.353, allocations: 8 kB / 428.7 MB, free: 7.488 MB / 334.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,subSample1.y,subSample1.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.0001658/0.3532, allocations: 167.4 kB / 428.9 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.3533, allocations: 65.5 kB / 429 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.3536, allocations: 127.3 kB / 429.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3536, allocations: 0 / 429.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3536, allocations: 0 / 429.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3536, allocations: 7.938 kB / 429.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.3538, allocations: 237.6 kB / 429.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3538, allocations: 0 / 429.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.3539, allocations: 11.98 kB / 429.3 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3539, allocations: 3.938 kB / 429.3 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.3539, allocations: 4 kB / 429.3 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3539, allocations: 0 / 429.3 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3539, allocations: 4 kB / 429.3 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3542, allocations: 170.5 kB / 429.5 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.3543, allocations: 112.9 kB / 429.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.3543, allocations: 4 kB / 429.6 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.3544, allocations: 7.938 kB / 429.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.3545, allocations: 7.984 kB / 429.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3545, allocations: 7.938 kB / 429.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.3547, allocations: 241.9 kB / 429.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3547, allocations: 0 / 429.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000287/0.355, allocations: 43.92 kB / 429.9 MB, free: 6.176 MB / 334.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,subSample1.y,sample1.y,subSample1.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.00154/0.3566, allocations: 428.7 kB / 430.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3568, allocations: 63.91 kB / 430.4 MB, free: 5.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3568, allocations: 4 kB / 430.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.3569, allocations: 23.98 kB / 430.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3574, allocations: 71.91 kB / 430.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007538/0.3581, allocations: 398.4 kB / 430.9 MB, free: 5.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.3585, allocations: 0.7436 MB / 431.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.3586, allocations: 19.53 kB / 431.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3586, allocations: 4 kB / 431.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of Templates: time 0.00623/0.3648, allocations: 2.901 MB / 434.6 MB, free: 1.637 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches