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.001082/0.001082, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001152/0.001152, allocations: 162.5 kB / 24.99 MB, free: 8.801 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.044/1.044, allocations: 177 MB / 205.2 MB, free: 5.617 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.974e-06/1.974e-06, allocations: 0 / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.305e-05, allocations: 9.062 kB / 273 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003541/0.003574, allocations: 1.959 MB / 275 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.005198, allocations: 1.191 MB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.005353, allocations: 7.938 kB / 276.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.005942, allocations: 155.4 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.006306, allocations: 167.2 kB / 276.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.006723, allocations: 171.4 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.006967, allocations: 199.4 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.007075, allocations: 21.8 kB / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.007206, allocations: 107.7 kB / 277 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.007315, allocations: 71.8 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002827/0.007598, allocations: 12 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.007726, allocations: 59.89 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.568e-05/0.007792, allocations: 47.83 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.007846, allocations: 35.86 kB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.008114, allocations: 171.3 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.008118, allocations: 0 / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.008119, allocations: 4 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.008126, allocations: 0 / 277.3 MB, free: 13.39 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.0006182/0.008744, allocations: 0.5478 MB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.008787, allocations: 15.98 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.008859, allocations: 32.8 kB / 277.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.009155, allocations: 224.4 kB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.009179, allocations: 12.31 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.009194, allocations: 8.375 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.009495, allocations: 148.2 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.009502, allocations: 4.188 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.009515, allocations: 4.375 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.009527, allocations: 7.938 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.009586, allocations: 23.91 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.01008, allocations: 489.8 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.01025, allocations: 140.5 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.01032, allocations: 58.73 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.01034, allocations: 7.938 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.01049, allocations: 100.3 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.995e-06/0.01049, allocations: 0 / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002804/0.01077, allocations: 129.4 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.01083, allocations: 132.5 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.01104, allocations: 300.3 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.01106, allocations: 26.08 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.01114, allocations: 171.1 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.01118, allocations: 15.91 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.01122, allocations: 35.31 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.01136, allocations: 0.504 MB / 280.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.01139, allocations: 11.92 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.039e-05/0.01145, allocations: 76.44 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.215e-05/0.01152, allocations: 51 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.01153, allocations: 0 / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001345/0.01166, allocations: 93.5 kB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01168, allocations: 6.812 kB / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01168, allocations: 4 kB / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.0117, allocations: 0 / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.01177, allocations: 11.98 kB / 280.7 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01178, allocations: 0 / 280.7 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.01182, allocations: 8.25 kB / 280.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.01183, allocations: 8 kB / 280.7 MB, free: 9.668 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 9e-05/0.01192, allocations: 176.4 kB / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.01198, allocations: 77.55 kB / 281 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.01212, allocations: 107.4 kB / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.01213, allocations: 4 kB / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01213, allocations: 0 / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01214, allocations: 0 / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.01229, allocations: 180.5 kB / 281.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01229, allocations: 0 / 281.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.01231, allocations: 7.984 kB / 281.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01232, allocations: 11.88 kB / 281.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.01233, allocations: 0 / 281.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01233, allocations: 8.062 kB / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01233, allocations: 0 / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.0125, allocations: 179.3 kB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.01255, allocations: 39.75 kB / 281.5 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.01258, allocations: 4 kB / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.01262, allocations: 4 kB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.01267, allocations: 11.98 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.01269, allocations: 4 kB / 281.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.01281, allocations: 205.1 kB / 281.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01281, allocations: 0 / 281.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.013, allocations: 35.94 kB / 281.7 MB, free: 8.539 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.0008916/0.01389, allocations: 393.7 kB / 282.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.01405, allocations: 63.59 kB / 282.2 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01405, allocations: 0 / 282.2 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.0141, allocations: 31.67 kB / 282.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.01444, allocations: 72.92 kB / 282.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.01499, allocations: 321.2 kB / 282.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.881e-05/0.01505, allocations: 83.97 kB / 282.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.01511, allocations: 29.94 kB / 282.7 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.01515, allocations: 20.5 kB / 282.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01515, allocations: 0 / 282.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of Templates: time 0.005619/0.02077, allocations: 2.693 MB / 285.4 MB, free: 4.93 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: 3.043142014881596]