Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009807/0.0009807, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001056/0.001056, allocations: 161.5 kB / 24.99 MB, free: 9.281 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.BooleanSignals.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.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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.973e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002823/0.002852, allocations: 1.962 MB / 275 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.00464, allocations: 1.196 MB / 276.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.004768, allocations: 3.938 kB / 276.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.00535, allocations: 151.5 kB / 276.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.005725, allocations: 171.2 kB / 276.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.006136, allocations: 175.3 kB / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.006388, allocations: 195.4 kB / 276.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.006518, allocations: 21.81 kB / 276.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.006658, allocations: 103.7 kB / 277 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.006763, allocations: 75.78 kB / 277.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.006784, allocations: 8 kB / 277.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.006906, allocations: 59.89 kB / 277.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.607e-05/0.006972, allocations: 51.77 kB / 277.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.007029, allocations: 35.88 kB / 277.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.007287, allocations: 175.3 kB / 277.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.00729, allocations: 0 / 277.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007292, allocations: 0 / 277.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.007297, allocations: 0 / 277.4 MB, free: 13.45 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.000653/0.00795, allocations: 0.5478 MB / 278 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.00799, allocations: 11.97 kB / 278 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.008058, allocations: 28.8 kB / 278 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.008347, allocations: 228.4 kB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.008366, allocations: 12.31 kB / 278.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.008381, allocations: 8.375 kB / 278.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.008686, allocations: 156.2 kB / 278.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.008695, allocations: 3.938 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.008707, allocations: 4 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.008715, allocations: 0 / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.003e-05/0.008775, allocations: 23.92 kB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.009234, allocations: 489.9 kB / 278.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.009388, allocations: 144.5 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.009445, allocations: 50.73 kB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.009464, allocations: 4 kB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.009584, allocations: 100.3 kB / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.133e-06/0.009585, allocations: 0 / 279.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002509/0.009836, allocations: 141.4 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.009897, allocations: 136.5 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.01009, allocations: 292.3 kB / 279.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.0101, allocations: 29.7 kB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.01018, allocations: 171.1 kB / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.0102, allocations: 15.91 kB / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.01024, allocations: 35.31 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.01038, allocations: 0.504 MB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.01041, allocations: 16.3 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.01047, allocations: 72.45 kB / 280.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.01053, allocations: 62.92 kB / 280.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01053, allocations: 0 / 280.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001055/0.01064, allocations: 81.53 kB / 280.7 MB, free: 9.758 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01065, allocations: 8 kB / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01066, allocations: 0 / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.01067, allocations: 0 / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.01073, allocations: 15.98 kB / 280.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01074, allocations: 4.094 kB / 280.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.01078, allocations: 7.938 kB / 280.8 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.01079, allocations: 8 kB / 280.8 MB, free: 9.715 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 9.05e-05/0.01088, allocations: 173.1 kB / 280.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.01094, allocations: 69.55 kB / 281 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.01108, allocations: 95.38 kB / 281.1 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01108, allocations: 4 kB / 281.1 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01108, allocations: 0 / 281.1 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01109, allocations: 4 kB / 281.1 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.01123, allocations: 188.5 kB / 281.3 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.01123, allocations: 320 / 281.3 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.01126, allocations: 8 kB / 281.3 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01126, allocations: 4 kB / 281.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01127, allocations: 7.984 kB / 281.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01127, allocations: 0 / 281.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01128, allocations: 4 kB / 281.3 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.01143, allocations: 183.2 kB / 281.5 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.01147, allocations: 35.83 kB / 281.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.0115, allocations: 3.984 kB / 281.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.01153, allocations: 8 kB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.01157, allocations: 11.98 kB / 281.6 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.01158, allocations: 4 kB / 281.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01171, allocations: 205.1 kB / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01171, allocations: 0 / 281.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.01188, allocations: 31.95 kB / 281.8 MB, free: 8.602 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.0008601/0.01274, allocations: 408.3 kB / 282.2 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.01287, allocations: 55.59 kB / 282.3 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01288, allocations: 4 kB / 282.3 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.01292, allocations: 23.69 kB / 282.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.0132, allocations: 84.42 kB / 282.4 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.01383, allocations: 321.2 kB / 282.7 MB, free: 7.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.01387, allocations: 87.91 kB / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.884e-05/0.01392, allocations: 21.42 kB / 282.8 MB, free: 7.695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.01396, allocations: 16.5 kB / 282.8 MB, free: 7.676 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01396, allocations: 0 / 282.8 MB, free: 7.676 MB / 266.7 MB Notification: Performance of Templates: time 0.004622/0.01858, allocations: 2.703 MB / 285.5 MB, free: 5.02 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.0685585860628635]