Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.0009329/0.0009329, allocations: 88.33 kB / 21.44 MB, free: 3.113 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.003598/0.003598, allocations: 153.9 kB / 24.69 MB, free: 8.914 MB / 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 0.9353/0.9353, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.493e-05, allocations: 3.406 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001792/0.001817, allocations: 1.614 MB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006813/0.002499, allocations: 0.5491 MB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.002577, allocations: 4 kB / 328 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.836e-05/0.002625, allocations: 7.875 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.002754, allocations: 11.88 kB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.003003, allocations: 59.73 kB / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.003097, allocations: 59.78 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.003183, allocations: 15.98 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.003293, allocations: 43.83 kB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.003339, allocations: 19.92 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.003354, allocations: 4 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.318e-05/0.003387, allocations: 4 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.003427, allocations: 15.92 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.00345, allocations: 19.92 kB / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.003579, allocations: 63.73 kB / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.003583, allocations: 7.984 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.003583, allocations: 0 / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003587, allocations: 0 / 328.3 MB, free: 12.84 MB / 298.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.0003422/0.003929, allocations: 317.9 kB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.003962, allocations: 11.98 kB / 328.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.929e-05/0.004062, allocations: 16.88 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.004232, allocations: 150.1 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.004242, allocations: 8.375 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.004252, allocations: 4.375 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.00447, allocations: 135.2 kB / 328.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004478, allocations: 3.938 kB / 328.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.004486, allocations: 0 / 328.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.004491, allocations: 4 kB / 328.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.276e-05/0.004544, allocations: 27.92 kB / 328.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.004786, allocations: 227.2 kB / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.349e-05/0.00487, allocations: 90.42 kB / 329.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.004915, allocations: 47.42 kB / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.004935, allocations: 0 / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.004956, allocations: 46.42 kB / 329.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.004957, allocations: 0 / 329.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001886/0.005145, allocations: 102 kB / 329.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.0052, allocations: 136.5 kB / 329.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.005291, allocations: 147.5 kB / 329.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.005299, allocations: 25.7 kB / 329.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.005338, allocations: 92.12 kB / 329.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.005354, allocations: 15.88 kB / 329.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.005381, allocations: 21.67 kB / 329.9 MB, free: 11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.005452, allocations: 326.8 kB / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.005479, allocations: 8 kB / 330.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.005503, allocations: 25.7 kB / 330.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.00555, allocations: 37.7 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005552, allocations: 0 / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.29e-05/0.005614, allocations: 49.69 kB / 330.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.005626, allocations: 7.938 kB / 330.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.005631, allocations: 4 kB / 330.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.005642, allocations: 0 / 330.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.005687, allocations: 7.984 kB / 330.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.005691, allocations: 4.062 kB / 330.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.005708, allocations: 4 kB / 330.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.005714, allocations: 0 / 330.3 MB, free: 10.51 MB / 298.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 5.577e-05/0.00577, allocations: 121.8 kB / 330.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.005817, allocations: 61.55 kB / 330.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.005843, allocations: 19.91 kB / 330.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005845, allocations: 0 / 330.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.005848, allocations: 0 / 330.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005851, allocations: 4 kB / 330.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.551e-05/0.005947, allocations: 121.3 kB / 330.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.005948, allocations: 7.984 kB / 330.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.005978, allocations: 12 kB / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.005979, allocations: 3.938 kB / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.005985, allocations: 4 kB / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.005988, allocations: 7.984 kB / 330.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005989, allocations: 0 / 330.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.0061, allocations: 197.9 kB / 330.9 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.00613, allocations: 19.94 kB / 330.9 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.00614, allocations: 4 kB / 330.9 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.382e-05/0.006174, allocations: 4 kB / 330.9 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.006199, allocations: 4 kB / 330.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.006201, allocations: 0 / 330.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.922e-05/0.006251, allocations: 118.2 kB / 331 MB, free: 9.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006251, allocations: 0 / 331 MB, free: 9.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.006396, allocations: 8 kB / 331 MB, free: 9.738 MB / 298.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 6.531e-05/0.006461, allocations: 91.25 kB / 331.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.213e-05/0.006554, allocations: 51.97 kB / 331.2 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006555, allocations: 0 / 331.2 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.006575, allocations: 11.94 kB / 331.2 MB, free: 9.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.006822, allocations: 32.98 kB / 331.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.007097, allocations: 227.4 kB / 331.5 MB, free: 9.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.752e-05/0.007154, allocations: 91.36 kB / 331.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.007181, allocations: 16.88 kB / 331.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of SimCode: time 4.7e-07/0.007182, allocations: 4 kB / 331.6 MB, free: 9.152 MB / 298.7 MB Notification: Performance of Templates: time 0.001551/0.008733, allocations: 0.9126 MB / 332.5 MB, free: 8.242 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.289628475904465]