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.002802/0.002802, allocations: 91.61 kB / 20.95 MB, free: 3.465 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.003301/0.003301, allocations: 165.6 kB / 24.28 MB, free: 152 kB / 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.617/1.617, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.402e-06/1.402e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.778e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003773/0.003801, allocations: 1.942 MB / 274.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.006253, allocations: 1.173 MB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.006363, allocations: 7.938 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006714/0.007034, allocations: 159.4 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.007487, allocations: 159.3 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.008002, allocations: 183.3 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.008326, allocations: 195.4 kB / 276.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.008434, allocations: 25.73 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.008632, allocations: 103.8 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.008769, allocations: 63.8 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.008803, allocations: 15.94 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.008974, allocations: 63.83 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.836e-05/0.009062, allocations: 51.83 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.009374, allocations: 35.86 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.009772, allocations: 223.2 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.009775, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009776, allocations: 4 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.009782, allocations: 0 / 276.7 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.0008965/0.01068, allocations: 0.5631 MB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.01071, allocations: 8.031 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.0108, allocations: 24.8 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.01122, allocations: 223.7 kB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.01124, allocations: 4.375 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.01126, allocations: 8.375 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.01164, allocations: 172.2 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01165, allocations: 3.938 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.01166, allocations: 4 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.01167, allocations: 4 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.01179, allocations: 31.92 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007092/0.0125, allocations: 0.5096 MB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.01284, allocations: 160.4 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.01295, allocations: 66.73 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.01298, allocations: 3.938 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.01318, allocations: 108.3 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.01318, allocations: 0 / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004207/0.0136, allocations: 157.4 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.01372, allocations: 140.5 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.01412, allocations: 336.3 kB / 279.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.01415, allocations: 33.7 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.0143, allocations: 175.1 kB / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.01434, allocations: 19.89 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.0144, allocations: 39.33 kB / 279.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002926/0.0147, allocations: 0.5118 MB / 280 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.01475, allocations: 16.38 kB / 280 MB, free: 9.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.01487, allocations: 88.44 kB / 280.1 MB, free: 9.719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.01501, allocations: 75.17 kB / 280.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01501, allocations: 0 / 280.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002048/0.01522, allocations: 97.53 kB / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01523, allocations: 4 kB / 280.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.01524, allocations: 0 / 280.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.01525, allocations: 4 kB / 280.2 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.01533, allocations: 15.98 kB / 280.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01534, allocations: 96 / 280.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.0154, allocations: 11.94 kB / 280.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.01541, allocations: 4 kB / 280.3 MB, free: 9.492 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.0001512/0.01556, allocations: 181.1 kB / 280.4 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.01568, allocations: 77.48 kB / 280.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.01593, allocations: 107.5 kB / 280.6 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.01594, allocations: 4 kB / 280.6 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01594, allocations: 0 / 280.6 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.01595, allocations: 4 kB / 280.6 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.01621, allocations: 204.5 kB / 280.8 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01621, allocations: 4.062 kB / 280.8 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.01625, allocations: 11.98 kB / 280.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01625, allocations: 0 / 280.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.01626, allocations: 4 kB / 280.9 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.01627, allocations: 3.938 kB / 280.9 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.01627, allocations: 4 kB / 280.9 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.01659, allocations: 203.2 kB / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.01668, allocations: 27.89 kB / 281.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.0167, allocations: 0 / 281.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.01677, allocations: 8.062 kB / 281.1 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.01682, allocations: 15.98 kB / 281.1 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.01684, allocations: 7.938 kB / 281.1 MB, free: 8.543 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.01708, allocations: 237.1 kB / 281.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01708, allocations: 0 / 281.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002474/0.01733, allocations: 27.94 kB / 281.4 MB, free: 8.285 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.002892/0.02022, allocations: 447.4 kB / 281.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.02045, allocations: 71.59 kB / 281.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02045, allocations: 8.125 kB / 281.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.02054, allocations: 35.61 kB / 281.9 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.02101, allocations: 85.28 kB / 282 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.02179, allocations: 337.2 kB / 282.3 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.02198, allocations: 123.8 kB / 282.5 MB, free: 7.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.325e-05/0.02205, allocations: 17.48 kB / 282.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.02212, allocations: 24.5 kB / 282.5 MB, free: 7.277 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02212, allocations: 0 / 282.5 MB, free: 7.277 MB / 266.7 MB Notification: Performance of Templates: time 0.007933/0.03005, allocations: 2.699 MB / 285.2 MB, free: 4.621 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.590956808067858]