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.001839/0.001839, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001998/0.001998, allocations: 160.8 kB / 24.27 MB, free: 156 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.661/1.661, allocations: 177 MB / 204.4 MB, free: 5.625 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.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.667e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.005616/0.005652, allocations: 1.935 MB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.009324, allocations: 1.18 MB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.00947, allocations: 3.938 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008598/0.01033, allocations: 163.3 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006344/0.01096, allocations: 163.3 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007939/0.01176, allocations: 171.3 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.01218, allocations: 203.4 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.01232, allocations: 25.73 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.01258, allocations: 107.7 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.01277, allocations: 67.73 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.01282, allocations: 12 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.01303, allocations: 59.89 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.01315, allocations: 51.83 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.01324, allocations: 31.86 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.01378, allocations: 223.2 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.01378, allocations: 0 / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01378, allocations: 4 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.01379, allocations: 0 / 276.6 MB, free: 13.41 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.001181/0.01497, allocations: 0.567 MB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.01502, allocations: 11.98 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.01513, allocations: 28.8 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.01568, allocations: 215.7 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.01571, allocations: 8.375 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.01573, allocations: 4.375 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.01637, allocations: 176.2 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.01639, allocations: 4.125 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.01642, allocations: 8.375 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.01643, allocations: 3.938 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.01658, allocations: 31.98 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/0.01753, allocations: 0.5057 MB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.01793, allocations: 156.5 kB / 278.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.0181, allocations: 74.67 kB / 278.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.01814, allocations: 7.938 kB / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.01841, allocations: 104.3 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.01841, allocations: 0 / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005949/0.01901, allocations: 157.4 kB / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.01915, allocations: 140.8 kB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.01969, allocations: 344.3 kB / 279.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.01973, allocations: 29.7 kB / 279.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.01992, allocations: 175.1 kB / 279.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.01996, allocations: 15.91 kB / 279.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.607e-05/0.02005, allocations: 43.31 kB / 279.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004112/0.02047, allocations: 0.5079 MB / 279.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.02055, allocations: 19.98 kB / 279.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.02072, allocations: 88.38 kB / 280 MB, free: 9.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.02091, allocations: 63 kB / 280 MB, free: 9.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.02092, allocations: 4.031 kB / 280 MB, free: 9.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000342/0.02126, allocations: 105.5 kB / 280.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.02128, allocations: 4 kB / 280.1 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.02129, allocations: 4 kB / 280.1 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.0213, allocations: 0 / 280.1 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.02143, allocations: 15.94 kB / 280.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.02144, allocations: 7.984 kB / 280.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.02154, allocations: 7.938 kB / 280.2 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.02155, allocations: 0 / 280.2 MB, free: 9.449 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.0002162/0.02177, allocations: 176.6 kB / 280.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.02195, allocations: 85.42 kB / 280.4 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.02232, allocations: 107.4 kB / 280.5 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.02232, allocations: 0 / 280.5 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.02233, allocations: 4 kB / 280.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.02234, allocations: 0 / 280.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.02273, allocations: 204.9 kB / 280.7 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.02274, allocations: 4 kB / 280.7 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.02279, allocations: 11.94 kB / 280.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.0228, allocations: 7.938 kB / 280.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.02282, allocations: 8.047 kB / 280.8 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.02282, allocations: 0 / 280.8 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.02282, allocations: 4 kB / 280.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.02354, allocations: 199.2 kB / 281 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.02367, allocations: 35.81 kB / 281 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.02371, allocations: 0 / 281 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.0238, allocations: 8 kB / 281 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.02386, allocations: 7.984 kB / 281 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.02389, allocations: 4 kB / 281 MB, free: 8.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003727/0.02426, allocations: 233.1 kB / 281.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02426, allocations: 4 kB / 281.2 MB, free: 8.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004391/0.0247, allocations: 31.92 kB / 281.3 MB, free: 8.238 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.004035/0.02873, allocations: 442.5 kB / 281.7 MB, free: 7.953 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.02909, allocations: 71.59 kB / 281.8 MB, free: 7.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.0291, allocations: 4 kB / 281.8 MB, free: 7.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.02923, allocations: 35.61 kB / 281.8 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.02991, allocations: 88.36 kB / 281.9 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009464/0.03086, allocations: 341.1 kB / 282.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.03105, allocations: 115.6 kB / 282.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.03116, allocations: 25.62 kB / 282.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.03125, allocations: 28.48 kB / 282.4 MB, free: 7.199 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.03125, allocations: 0 / 282.4 MB, free: 7.199 MB / 266.7 MB Notification: Performance of Templates: time 0.01102/0.04227, allocations: 2.668 MB / 285.1 MB, free: 4.562 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","/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.652034259052016]