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.001873/0.001873, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002607/0.002607, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 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.486/1.486, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.064e-06/2.064e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.22e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.006644/0.006676, allocations: 1.905 MB / 274.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.01087, allocations: 1.156 MB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.01105, allocations: 7.938 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009675/0.01201, allocations: 159.3 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008345/0.01285, allocations: 163.3 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000954/0.0138, allocations: 171.3 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005243/0.01433, allocations: 199.4 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.01448, allocations: 29.72 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.01479, allocations: 99.78 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.01503, allocations: 75.73 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.01507, allocations: 8 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.01531, allocations: 67.83 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.01544, allocations: 43.84 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.01557, allocations: 43.84 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.01617, allocations: 219.2 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01618, allocations: 0 / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01618, allocations: 0 / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.01619, allocations: 0 / 276.5 MB, free: 13.44 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.001266/0.01745, allocations: 458.6 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.01751, allocations: 11.98 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.01763, allocations: 28.8 kB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006448/0.01828, allocations: 224.8 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.0183, allocations: 4.375 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.01833, allocations: 8.375 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.01892, allocations: 157.9 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.01894, allocations: 192 / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.01896, allocations: 4.375 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.01898, allocations: 11.94 kB / 277.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.01919, allocations: 39.92 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009047/0.02009, allocations: 378.3 kB / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.02059, allocations: 134.5 kB / 278 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.02081, allocations: 55.36 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.02085, allocations: 11.94 kB / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.02117, allocations: 97.03 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/0.02117, allocations: 0 / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000769/0.02194, allocations: 169.4 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/0.02212, allocations: 140.5 kB / 278.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.02274, allocations: 277.9 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.02279, allocations: 29.7 kB / 278.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.02297, allocations: 128.5 kB / 278.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.02301, allocations: 8.281 kB / 278.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.02311, allocations: 41.66 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002829/0.0234, allocations: 326.8 kB / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.02352, allocations: 19.98 kB / 279.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.0237, allocations: 77.12 kB / 279.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.02395, allocations: 62.5 kB / 279.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.02396, allocations: 0 / 279.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000408/0.02437, allocations: 113.5 kB / 279.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.0244, allocations: 8 kB / 279.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.0244, allocations: 0 / 279.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.02443, allocations: 4 kB / 279.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.02456, allocations: 8 kB / 279.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.02457, allocations: 3.938 kB / 279.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.0247, allocations: 15.92 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.02472, allocations: 4 kB / 279.5 MB, free: 10.15 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 0.0002359/0.02496, allocations: 141.8 kB / 279.7 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.02517, allocations: 85.45 kB / 279.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.02564, allocations: 111.4 kB / 279.9 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.02566, allocations: 4 kB / 279.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.02566, allocations: 0 / 279.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.02567, allocations: 0 / 279.9 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.02609, allocations: 169.5 kB / 280 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.0261, allocations: 7.984 kB / 280 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.02617, allocations: 11.94 kB / 280 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.02618, allocations: 7.922 kB / 280 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.02622, allocations: 8 kB / 280.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.02622, allocations: 0 / 280.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.02622, allocations: 4.031 kB / 280.1 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.02677, allocations: 183.5 kB / 280.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.02691, allocations: 31.83 kB / 280.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.02697, allocations: 4 kB / 280.3 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.0271, allocations: 11.92 kB / 280.3 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.02717, allocations: 4 kB / 280.3 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.02721, allocations: 11.98 kB / 280.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004205/0.02763, allocations: 205.2 kB / 280.5 MB, free: 9.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.02763, allocations: 0 / 280.5 MB, free: 9.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004984/0.02813, allocations: 31.94 kB / 280.5 MB, free: 9.055 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.003207/0.03133, allocations: 447.8 kB / 281 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000397/0.03173, allocations: 71.91 kB / 281 MB, free: 8.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.03173, allocations: 0 / 281 MB, free: 8.691 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.03191, allocations: 31.92 kB / 281.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007858/0.03269, allocations: 65.89 kB / 281.1 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.03382, allocations: 359 kB / 281.5 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.03406, allocations: 123.6 kB / 281.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.03418, allocations: 17.48 kB / 281.6 MB, free: 8.055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.015e-05/0.03427, allocations: 24.5 kB / 281.6 MB, free: 8.027 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03427, allocations: 0 / 281.6 MB, free: 8.027 MB / 266.7 MB Notification: Performance of Templates: time 0.01034/0.04461, allocations: 2.689 MB / 284.3 MB, free: 5.375 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.559396173921414]