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.001413/0.001413, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001844/0.001844, allocations: 161.7 kB / 24.82 MB, free: 8.922 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.015/1.015, allocations: 177 MB / 205.1 MB, free: 5.496 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.673e-06/1.673e-06, allocations: 0 / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.33e-05, allocations: 9.266 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002747/0.00277, allocations: 1.963 MB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.004652, allocations: 1.176 MB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.004781, allocations: 7.938 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.005326, allocations: 155.4 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.005662, allocations: 163.3 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.006079, allocations: 175.3 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.006332, allocations: 199.4 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.006434, allocations: 25.78 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.006563, allocations: 107.7 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.937e-05/0.006662, allocations: 71.8 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.006683, allocations: 8 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.006806, allocations: 59.84 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.006869, allocations: 51.77 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.006912, allocations: 39.84 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.00714, allocations: 171.3 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.007143, allocations: 3.984 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.007144, allocations: 0 / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.007148, allocations: 0 / 277.7 MB, free: 12.87 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.0004976/0.007645, allocations: 0.5439 MB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.007683, allocations: 19.98 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.007726, allocations: 28.8 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.00793, allocations: 220.3 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.007945, allocations: 8.375 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.007955, allocations: 4.375 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.008152, allocations: 152.2 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.008158, allocations: 4.188 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.008166, allocations: 384 / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.008172, allocations: 7.938 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.008212, allocations: 27.91 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.008541, allocations: 442.6 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.008668, allocations: 136.5 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.008708, allocations: 58.66 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.008729, allocations: 11.98 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.009129, allocations: 96.3 kB / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.00913, allocations: 0 / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001981/0.009328, allocations: 117.4 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.009387, allocations: 140.5 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.009554, allocations: 288.2 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.009569, allocations: 30.08 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.009645, allocations: 175.1 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.009667, allocations: 19.88 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.009705, allocations: 35.27 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.00983, allocations: 0.5079 MB / 280.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.009846, allocations: 8 kB / 280.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.657e-05/0.009892, allocations: 68.44 kB / 280.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.009942, allocations: 51.23 kB / 280.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.009945, allocations: 4 kB / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.948e-05/0.01004, allocations: 93.48 kB / 280.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01006, allocations: 10.66 kB / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.01007, allocations: 0 / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.01007, allocations: 0 / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.01013, allocations: 8 kB / 281 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.01013, allocations: 7.938 kB / 281 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.01017, allocations: 11.92 kB / 281 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.01018, allocations: 0 / 281 MB, free: 9.219 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.362e-05/0.01026, allocations: 164.5 kB / 281.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.01032, allocations: 81.48 kB / 281.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.01044, allocations: 91.44 kB / 281.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01044, allocations: 4 kB / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01044, allocations: 0 / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.01045, allocations: 7.984 kB / 281.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.01057, allocations: 145.1 kB / 281.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01057, allocations: 0 / 281.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.01059, allocations: 11.92 kB / 281.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.0106, allocations: 4 kB / 281.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.0106, allocations: 0 / 281.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.0106, allocations: 12 kB / 281.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01061, allocations: 0 / 281.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.01072, allocations: 151.4 kB / 281.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.01076, allocations: 35.78 kB / 281.7 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.01078, allocations: 4 kB / 281.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.01082, allocations: 11.92 kB / 281.7 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.01085, allocations: 15.92 kB / 281.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.01086, allocations: 8.062 kB / 281.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.01096, allocations: 193.1 kB / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01096, allocations: 0 / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.01114, allocations: 32 kB / 281.9 MB, free: 8.18 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.0008269/0.01197, allocations: 403.2 kB / 282.3 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.01208, allocations: 51.61 kB / 282.4 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01208, allocations: 0 / 282.4 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.01212, allocations: 31.59 kB / 282.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01237, allocations: 61.61 kB / 282.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.01276, allocations: 325.1 kB / 282.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.772e-05/0.01281, allocations: 80.36 kB / 282.9 MB, free: 7.297 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.931e-05/0.01286, allocations: 21.62 kB / 282.9 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.01295, allocations: 106.2 kB / 283 MB, free: 7.168 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01296, allocations: 0 / 283 MB, free: 7.168 MB / 266.7 MB Notification: Performance of Templates: time 0.004745/0.0177, allocations: 2.938 MB / 285.9 MB, free: 4.273 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 -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.8307998469099402]