Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.00195/0.00195, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002125/0.002125, allocations: 165.3 kB / 24.27 MB, free: 156 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.637/1.637, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.641e-05/4.916e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.005678/0.005727, allocations: 1.637 MB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.007934, allocations: 0.5531 MB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.008062, allocations: 3.938 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.179e-05/0.008144, allocations: 3.938 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.008348, allocations: 19.84 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.008905, allocations: 63.69 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.009103, allocations: 55.8 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.009249, allocations: 19.97 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.009487, allocations: 39.84 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.461e-05/0.009581, allocations: 23.91 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.009606, allocations: 0 / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.009665, allocations: 8 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.009739, allocations: 15.92 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.009801, allocations: 19.92 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.01008, allocations: 67.72 kB / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.01008, allocations: 0 / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01008, allocations: 0 / 274.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.01009, allocations: 0 / 274.9 MB, free: 15.28 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008801/0.01097, allocations: 427.8 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.01102, allocations: 12.02 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.01127, allocations: 20.89 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.01165, allocations: 156.9 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.01166, allocations: 384 / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.01168, allocations: 4.375 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.0122, allocations: 152.2 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.01223, allocations: 7.922 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.01224, allocations: 0 / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.01225, allocations: 4 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.01238, allocations: 19.94 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.01304, allocations: 294.9 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.01335, allocations: 124.3 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.01351, allocations: 66.75 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.01355, allocations: 3.984 kB / 276.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.0136, allocations: 37.39 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.01361, allocations: 3.938 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005431/0.01415, allocations: 101.5 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.01432, allocations: 133 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.01464, allocations: 217.3 kB / 276.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.01467, allocations: 33.64 kB / 276.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.0148, allocations: 134.9 kB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.01483, allocations: 7.953 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.0149, allocations: 27.31 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000398/0.0153, allocations: 0.4922 MB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.01536, allocations: 4 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.907e-05/0.01546, allocations: 27.36 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.01561, allocations: 31.44 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01561, allocations: 4 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002267/0.01583, allocations: 53.62 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.01586, allocations: 4 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01586, allocations: 4 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.01589, allocations: 3.984 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.01598, allocations: 4 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.01599, allocations: 0 / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.01605, allocations: 0 / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.01606, allocations: 4 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000193/0.01625, allocations: 168.6 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.01644, allocations: 65.53 kB / 277.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.01649, allocations: 15.95 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.01651, allocations: 4 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.01651, allocations: 4 kB / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01652, allocations: 0 / 277.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.01685, allocations: 144.5 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01685, allocations: 0 / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.01696, allocations: 19.92 kB / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01697, allocations: 4.062 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01698, allocations: 4 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01698, allocations: 0 / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01699, allocations: 0 / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.01743, allocations: 258.8 kB / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.01749, allocations: 15.94 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.01752, allocations: 7.938 kB / 278.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.01765, allocations: 0 / 278.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.0177, allocations: 8 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.01771, allocations: 3.984 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.0179, allocations: 155.2 kB / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.0179, allocations: 0 / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004341/0.01834, allocations: 8 kB / 278.3 MB, free: 11.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001728/0.01851, allocations: 91.25 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.01876, allocations: 43.55 kB / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.01876, allocations: 4 kB / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.01886, allocations: 19.67 kB / 278.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.01952, allocations: 37.33 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.02016, allocations: 203.8 kB / 278.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.02031, allocations: 83.31 kB / 278.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.02035, allocations: 0 / 278.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.0204, allocations: 16.5 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02041, allocations: 0 / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Templates: time 0.006/0.02641, allocations: 0.7797 MB / 279.6 MB, free: 10.11 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.602355728042312]