Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 84.86 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 163.8 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.004/1.004, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.088e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.006109/0.00613, allocations: 1.998 MB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004749/0.01088, allocations: 1.214 MB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.01101, allocations: 7.938 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.01159, allocations: 151.5 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.01194, allocations: 163.2 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.01233, allocations: 171.3 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.01256, allocations: 195.4 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.01265, allocations: 22.45 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.01279, allocations: 111.6 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.0129, allocations: 67.8 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.01292, allocations: 8 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.01305, allocations: 71.89 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003074/0.01613, allocations: 43.78 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.01618, allocations: 43.84 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.01643, allocations: 167.3 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01643, allocations: 0 / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01643, allocations: 0 / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.01644, allocations: 0 / 277.8 MB, free: 12.75 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.0004656/0.0169, allocations: 425.3 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01694, allocations: 15.98 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.01698, allocations: 16.92 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.01724, allocations: 217.5 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.01726, allocations: 12.31 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.01727, allocations: 4.375 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.01749, allocations: 138 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.0175, allocations: 192 / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.01751, allocations: 8.359 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.01752, allocations: 3.938 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.01756, allocations: 30.75 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.01789, allocations: 283.7 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.01805, allocations: 153.2 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.01809, allocations: 35.42 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.01811, allocations: 4 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.01822, allocations: 103.7 kB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.01822, allocations: 0 / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001658/0.01839, allocations: 96.36 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.01844, allocations: 132.5 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.01888, allocations: 238.7 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.01889, allocations: 25.7 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.01894, allocations: 100.9 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.01897, allocations: 28.16 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003055/0.02202, allocations: 29.7 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.02211, allocations: 330.8 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.02212, allocations: 6.828 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/0.02217, allocations: 69.05 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.135e-05/0.02222, allocations: 40.22 kB / 280.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.02222, allocations: 3.938 kB / 280.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.13e-05/0.02231, allocations: 72.44 kB / 280.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.02233, allocations: 11.88 kB / 280.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.02233, allocations: 4.094 kB / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.02234, allocations: 0 / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/0.0224, allocations: 15.98 kB / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.0224, allocations: 0 / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.02244, allocations: 4 kB / 280.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.02245, allocations: 8 kB / 280.4 MB, free: 9.84 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 7.12e-05/0.02252, allocations: 116.6 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.02257, allocations: 61.55 kB / 280.6 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.02268, allocations: 83.36 kB / 280.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.02268, allocations: 4.062 kB / 280.7 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.02268, allocations: 7.984 kB / 280.7 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.02269, allocations: 0 / 280.7 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.0228, allocations: 106.1 kB / 280.8 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.0228, allocations: 4 kB / 280.8 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.02283, allocations: 11.98 kB / 280.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.02283, allocations: 4 kB / 280.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.02284, allocations: 0 / 280.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.02284, allocations: 3.938 kB / 280.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.02284, allocations: 4 kB / 280.8 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.02295, allocations: 121.2 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.023, allocations: 31.8 kB / 281 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.02302, allocations: 7.984 kB / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.761e-05/0.02305, allocations: 3.938 kB / 281 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.02308, allocations: 11.98 kB / 281 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.02309, allocations: 4 kB / 281 MB, free: 9.191 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.02318, allocations: 81.61 kB / 281.1 MB, free: 9.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02318, allocations: 0 / 281.1 MB, free: 9.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001953/0.02337, allocations: 31.94 kB / 281.1 MB, free: 9.078 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.001249/0.02462, allocations: 0.5116 MB / 281.6 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.652e-05/0.02471, allocations: 48.77 kB / 281.7 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.02471, allocations: 4 kB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.02475, allocations: 20.84 kB / 281.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/0.02796, allocations: 68.75 kB / 281.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.02834, allocations: 320.3 kB / 282.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.083e-05/0.02839, allocations: 83.97 kB / 282.2 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.02844, allocations: 21.62 kB / 282.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.955e-05/0.02853, allocations: 75.36 kB / 282.3 MB, free: 8.066 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.02853, allocations: 4 kB / 282.3 MB, free: 8.062 MB / 266.7 MB Notification: Performance of Templates: time 0.008098/0.03663, allocations: 2.93 MB / 285.2 MB, free: 5.176 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.717261829879135]