Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001646/0.001646, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001307/0.001307, allocations: 160.5 kB / 24.82 MB, free: 8.922 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.9567/0.9567, allocations: 177 MB / 205.1 MB, free: 5.48 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.892e-05, allocations: 6.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.005789/0.005807, allocations: 1.89 MB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.006923, allocations: 0.6738 MB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.007045, allocations: 11.88 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.007176, allocations: 23.8 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.0103, allocations: 27.72 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.01073, allocations: 103.7 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.01091, allocations: 143.6 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.01105, allocations: 49.88 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.01122, allocations: 83.73 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.0113, allocations: 39.84 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.01133, allocations: 12 kB / 276.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.81e-05/0.01138, allocations: 15.98 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.01142, allocations: 27.86 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.01146, allocations: 43.84 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.01163, allocations: 95.58 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.01163, allocations: 4 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01163, allocations: 0 / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.748e-06/0.01163, allocations: 0 / 276.6 MB, free: 13.97 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004414/0.01208, allocations: 479.9 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.01211, allocations: 15.98 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.01223, allocations: 32.83 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.01245, allocations: 204.9 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.01247, allocations: 4.562 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.01249, allocations: 12.38 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.0128, allocations: 264.2 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.01281, allocations: 0 / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.01282, allocations: 4 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.01282, allocations: 4 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.01287, allocations: 27.86 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.01323, allocations: 434.2 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.0134, allocations: 195.4 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.01346, allocations: 82.41 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.01348, allocations: 11.97 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.0135, allocations: 45.39 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.0135, allocations: 0 / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001885/0.01369, allocations: 133.4 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.01376, allocations: 192.2 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.01386, allocations: 238.4 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.01387, allocations: 29.7 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.01392, allocations: 158.8 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.01394, allocations: 7.953 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.01397, allocations: 27.36 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.01407, allocations: 0.4961 MB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.01408, allocations: 0 / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.01411, allocations: 52.77 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.01414, allocations: 23.41 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01414, allocations: 4 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.494e-05/0.0142, allocations: 49.64 kB / 279.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.01421, allocations: 4 kB / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01421, allocations: 4 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.01422, allocations: 0 / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.614e-05/0.01426, allocations: 7.938 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.01426, allocations: 3.984 kB / 279.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.01429, allocations: 7.938 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.01429, allocations: 0 / 279.8 MB, free: 10.39 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 6.791e-05/0.01436, allocations: 172.6 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/0.01445, allocations: 101.5 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.01449, allocations: 21.47 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.01449, allocations: 7.984 kB / 280.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.01449, allocations: 4 kB / 280.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.0145, allocations: 0 / 280.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.01464, allocations: 129.1 kB / 280.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01464, allocations: 8 kB / 280.2 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.0147, allocations: 31.92 kB / 280.2 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.0147, allocations: 8.031 kB / 280.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.01471, allocations: 4 kB / 280.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01471, allocations: 7.984 kB / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01471, allocations: 0 / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.01483, allocations: 342 kB / 280.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.01487, allocations: 39.86 kB / 280.6 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.01489, allocations: 4 kB / 280.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.01495, allocations: 8 kB / 280.6 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.01497, allocations: 3.984 kB / 280.6 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.01498, allocations: 4 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.573e-05/0.01503, allocations: 164.4 kB / 280.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01503, allocations: 0 / 280.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.01521, allocations: 16 kB / 280.8 MB, free: 9.266 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 17 * 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.911e-05/0.01528, allocations: 107.1 kB / 280.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.477e-05/0.01536, allocations: 43.55 kB / 281 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01536, allocations: 0 / 281 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.01537, allocations: 11.69 kB / 281 MB, free: 9.086 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.01571, allocations: 89.17 kB / 281.1 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.01631, allocations: 373.9 kB / 281.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.01636, allocations: 75.83 kB / 281.5 MB, free: 8.496 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.28e-05/0.01639, allocations: 9.141 kB / 281.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.01648, allocations: 102.2 kB / 281.6 MB, free: 8.383 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01648, allocations: 0 / 281.6 MB, free: 8.383 MB / 266.7 MB Notification: Performance of Templates: time 0.003139/0.01962, allocations: 1.877 MB / 283.5 MB, free: 6.551 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.56895158207044]