Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 108.2 kB / 19.04 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 200.4 kB / 22.22 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3218, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003929/0.3258, allocations: 1.944 MB / 422.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.3279, allocations: 1.091 MB / 423.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.328, allocations: 0 / 423.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007426/0.3287, allocations: 155.5 kB / 424 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.3291, allocations: 119.5 kB / 424.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.3296, allocations: 206.4 kB / 424.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.3299, allocations: 175.6 kB / 424.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.3301, allocations: 21.55 kB / 424.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3302, allocations: 87.56 kB / 424.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.3303, allocations: 75.67 kB / 424.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.3304, allocations: 12 kB / 424.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.3305, allocations: 59.91 kB / 424.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.3306, allocations: 43.84 kB / 424.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.3307, allocations: 75.47 kB / 424.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.3311, allocations: 216.3 kB / 425.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3311, allocations: 0 / 425.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3311, allocations: 4 kB / 425.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3311, allocations: 0 / 425.1 MB, free: 10.84 MB / 334.1 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.0009685/0.3321, allocations: 0.5154 MB / 425.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3321, allocations: 19.83 kB / 425.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.3322, allocations: 28.78 kB / 425.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.3326, allocations: 263 kB / 425.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3326, allocations: 4.375 kB / 425.9 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3326, allocations: 16.12 kB / 426 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.3331, allocations: 159.6 kB / 426.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3331, allocations: 4 kB / 426.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.3331, allocations: 4 kB / 426.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3331, allocations: 0 / 426.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.3332, allocations: 39.91 kB / 426.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.3338, allocations: 462.5 kB / 426.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.3341, allocations: 134.5 kB / 426.7 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.845e-05/0.3342, allocations: 51.42 kB / 426.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.3342, allocations: 4 kB / 426.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.3344, allocations: 97.03 kB / 426.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.3344, allocations: 0 / 426.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004222/0.3349, allocations: 153.6 kB / 427 MB, free: 8.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.335, allocations: 170.6 kB / 427.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.3353, allocations: 261 kB / 427.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3353, allocations: 29.7 kB / 427.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3354, allocations: 120.4 kB / 427.6 MB, free: 8.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.3355, allocations: 15.91 kB / 427.6 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.3355, allocations: 33.7 kB / 427.7 MB, free: 7.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3357, allocations: 330.8 kB / 428 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.3358, allocations: 27.98 kB / 428 MB, free: 7.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3359, allocations: 86.84 kB / 428.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.336, allocations: 89.11 kB / 428.2 MB, free: 7.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.336, allocations: 0 / 428.2 MB, free: 7.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002327/0.3363, allocations: 129.4 kB / 428.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3363, allocations: 4 kB / 428.3 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3363, allocations: 0 / 428.3 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.3363, allocations: 4 kB / 428.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3364, allocations: 24.09 kB / 428.3 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3364, allocations: 0 / 428.3 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.3365, allocations: 15.86 kB / 428.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3365, allocations: 4 kB / 428.4 MB, free: 7.211 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001609/0.3367, allocations: 150.3 kB / 428.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/0.3368, allocations: 73.48 kB / 428.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.337, allocations: 107.3 kB / 428.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.337, allocations: 4.062 kB / 428.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.337, allocations: 4 kB / 428.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.337, allocations: 7.922 kB / 428.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.3373, allocations: 229.6 kB / 428.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3373, allocations: 0 / 428.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.3373, allocations: 8.109 kB / 428.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.3373, allocations: 8 kB / 428.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3373, allocations: 7.938 kB / 428.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3373, allocations: 4 kB / 428.9 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3373, allocations: 0 / 428.9 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3376, allocations: 175.4 kB / 429.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.3377, allocations: 108.9 kB / 429.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.3377, allocations: 4 kB / 429.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.3378, allocations: 11.98 kB / 429.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.3379, allocations: 11.94 kB / 429.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.3379, allocations: 7.984 kB / 429.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.3381, allocations: 192.5 kB / 429.4 MB, free: 6 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3381, allocations: 0 / 429.4 MB, free: 6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3384, allocations: 35.94 kB / 429.5 MB, free: 5.965 MB / 334.1 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 (11): * Single equations (assignments): 9 * 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.001607/0.34, allocations: 430.1 kB / 429.9 MB, free: 5.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.3402, allocations: 79.91 kB / 430 MB, free: 5.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3402, allocations: 0 / 430 MB, free: 5.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.264e-05/0.3403, allocations: 27.92 kB / 430 MB, free: 5.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.3407, allocations: 56.42 kB / 430.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.3414, allocations: 337.9 kB / 430.4 MB, free: 5.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.3418, allocations: 0.7395 MB / 431.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.231e-05/0.3419, allocations: 21.53 kB / 431.2 MB, free: 4.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.3419, allocations: 23.44 kB / 431.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3419, allocations: 4 kB / 431.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of Templates: time 0.006815/0.3487, allocations: 2.575 MB / 433.8 MB, free: 1.816 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.919096232391894]