Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001003/0.001003, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001193/0.001193, allocations: 167.4 kB / 24.82 MB, free: 9.266 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 1.056/1.056, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.035e-05, allocations: 2.312 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003723/0.003753, allocations: 1.942 MB / 275.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.005559, allocations: 1.258 MB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.005714, allocations: 7.938 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.006052, allocations: 71.59 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.006421, allocations: 135.4 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.007072, allocations: 235 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.00735, allocations: 187.5 kB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.007467, allocations: 29.72 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.007628, allocations: 107.7 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.00775, allocations: 71.8 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.007772, allocations: 8 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.007926, allocations: 71.94 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.008, allocations: 51.83 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.008053, allocations: 43.8 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.00833, allocations: 199.2 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.008334, allocations: 7.938 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.008335, allocations: 0 / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.00834, allocations: 0 / 277.8 MB, free: 12.84 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006719/0.009012, allocations: 0.571 MB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.009055, allocations: 8.031 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.009119, allocations: 40.73 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.009376, allocations: 215.6 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.009398, allocations: 8.375 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.00941, allocations: 8.375 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.009673, allocations: 172.8 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.009687, allocations: 3.938 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.009698, allocations: 4 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.009704, allocations: 4 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.009749, allocations: 23.91 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.01016, allocations: 458.6 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.01031, allocations: 140.5 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.01035, allocations: 54.67 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.01037, allocations: 11.92 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.01049, allocations: 96.33 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.0105, allocations: 0 / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006172/0.01111, allocations: 133.4 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.0112, allocations: 136.5 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.01141, allocations: 322.2 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.01143, allocations: 33.64 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.01151, allocations: 187 kB / 280.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.01154, allocations: 23.83 kB / 280.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.01158, allocations: 31.36 kB / 280.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.01172, allocations: 0.5082 MB / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.01174, allocations: 12 kB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.01179, allocations: 72.44 kB / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.01184, allocations: 54.97 kB / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01184, allocations: 0 / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.582e-05/0.01194, allocations: 93.42 kB / 281.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01195, allocations: 8 kB / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01196, allocations: 0 / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.01197, allocations: 4.094 kB / 281.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.01205, allocations: 16.3 kB / 281.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.01205, allocations: 4 kB / 281.2 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.01209, allocations: 4 kB / 281.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.0121, allocations: 4 kB / 281.2 MB, free: 9.062 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.319e-05/0.01218, allocations: 169.2 kB / 281.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.01224, allocations: 73.45 kB / 281.5 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.01237, allocations: 99.41 kB / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01237, allocations: 4 kB / 281.6 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01237, allocations: 4.062 kB / 281.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01238, allocations: 3.984 kB / 281.6 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.01251, allocations: 165.1 kB / 281.7 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01252, allocations: 3.938 kB / 281.7 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.01257, allocations: 12 kB / 281.7 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.01257, allocations: 7.938 kB / 281.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.01258, allocations: 7.984 kB / 281.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.01258, allocations: 4 kB / 281.8 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01259, allocations: 3.938 kB / 281.8 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.01271, allocations: 155.3 kB / 281.9 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.01276, allocations: 35.83 kB / 281.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.01278, allocations: 15.92 kB / 282 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-05/0.01282, allocations: 4 kB / 282 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.01285, allocations: 11.98 kB / 282 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.01287, allocations: 4 kB / 282 MB, free: 8.203 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001131/0.01298, allocations: 215 kB / 282.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01298, allocations: 0 / 282.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000184/0.01316, allocations: 39.89 kB / 282.2 MB, free: 7.957 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.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 (12): * Single equations (assignments): 10 * 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.0008808/0.01405, allocations: 412.7 kB / 282.6 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.01416, allocations: 51.59 kB / 282.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01416, allocations: 128 / 282.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.0142, allocations: 43.58 kB / 282.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.01446, allocations: 74.45 kB / 282.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.01488, allocations: 361.1 kB / 283.2 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.01493, allocations: 91.91 kB / 283.2 MB, free: 7.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.344e-05/0.01499, allocations: 17.73 kB / 283.3 MB, free: 7.004 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.01508, allocations: 118.1 kB / 283.4 MB, free: 6.887 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01508, allocations: 0 / 283.4 MB, free: 6.887 MB / 266.7 MB Notification: Performance of Templates: time 0.005248/0.02033, allocations: 3.292 MB / 286.7 MB, free: 3.652 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.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.877367064822465]