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.001424/0.001424, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.001503/0.001503, allocations: 156.9 kB / 24.26 MB, free: 148 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.47/1.47, allocations: 177 MB / 204.4 MB, free: 5.602 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.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.723e-06/1.723e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.258e-05, allocations: 6.312 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003179/0.003211, allocations: 1.622 MB / 273.8 MB, free: 140 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.004436, allocations: 0.5374 MB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.004537, allocations: 7.938 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.314e-05/0.004591, allocations: 7.922 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.004736, allocations: 7.875 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.005078, allocations: 75.61 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.0052, allocations: 55.78 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.005291, allocations: 8 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.005442, allocations: 39.89 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.005507, allocations: 23.92 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.005526, allocations: 4 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.006e-05/0.005566, allocations: 4 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.005614, allocations: 19.91 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.005647, allocations: 15.94 kB / 274.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.005813, allocations: 71.66 kB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005815, allocations: 0 / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005816, allocations: 0 / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.005819, allocations: 0 / 274.7 MB, free: 15.26 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.0005261/0.006345, allocations: 317.9 kB / 275 MB, free: 14.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.006382, allocations: 11.98 kB / 275 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.006548, allocations: 24.88 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.006824, allocations: 154.1 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.006834, allocations: 384 / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.006848, allocations: 8.375 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.007175, allocations: 127.2 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.007188, allocations: 11.94 kB / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.007198, allocations: 0 / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.007203, allocations: 0 / 275.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.0073, allocations: 31.91 kB / 275.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.007663, allocations: 223.2 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.007824, allocations: 94.3 kB / 275.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.007917, allocations: 51.48 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.00794, allocations: 4 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.00798, allocations: 42.5 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.007981, allocations: 0 / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003431/0.008324, allocations: 105.5 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.008435, allocations: 136.5 kB / 276 MB, free: 13.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.008604, allocations: 149.8 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.008627, allocations: 26.2 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.00869, allocations: 92.14 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.008712, allocations: 11.94 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.008753, allocations: 17.67 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.008923, allocations: 322.8 kB / 276.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.00897, allocations: 7.984 kB / 276.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.009019, allocations: 21.72 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.924e-05/0.009118, allocations: 33.64 kB / 276.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00912, allocations: 4.062 kB / 276.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001373/0.009257, allocations: 53.67 kB / 276.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.009271, allocations: 4 kB / 276.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.009275, allocations: 4 kB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.009289, allocations: 0 / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.009351, allocations: 4 kB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.00936, allocations: 3.938 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.009402, allocations: 7.984 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.009408, allocations: 0 / 276.8 MB, free: 12.93 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.0001048/0.009513, allocations: 121.8 kB / 276.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.009618, allocations: 65.59 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.00965, allocations: 15.91 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009652, allocations: 0 / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.009655, allocations: 4 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.009663, allocations: 7.969 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.009851, allocations: 129.2 kB / 277.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009853, allocations: 0 / 277.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.009921, allocations: 15.98 kB / 277.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.009932, allocations: 4.062 kB / 277.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.009943, allocations: 4 kB / 277.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.009945, allocations: 0 / 277.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009946, allocations: 0 / 277.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.0102, allocations: 197.9 kB / 277.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.01024, allocations: 23.88 kB / 277.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.01026, allocations: 0 / 277.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.01033, allocations: 7.984 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.01037, allocations: 8.062 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.01038, allocations: 4 kB / 277.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.01048, allocations: 115.2 kB / 277.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01048, allocations: 0 / 277.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.01071, allocations: 8 kB / 277.5 MB, free: 12.14 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.0001118/0.01082, allocations: 95.25 kB / 277.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.01098, allocations: 35.86 kB / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01098, allocations: 0 / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.01102, allocations: 16.17 kB / 277.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.0114, allocations: 33.14 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.01194, allocations: 201.5 kB / 277.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.748e-05/0.01204, allocations: 83.33 kB / 277.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.138e-05/0.01207, allocations: 0 / 277.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.0121, allocations: 16.48 kB / 278 MB, free: 11.6 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01211, allocations: 192 / 278 MB, free: 11.6 MB / 266.7 MB Notification: Performance of Templates: time 0.003474/0.01558, allocations: 0.7556 MB / 278.7 MB, free: 10.86 MB / 266.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.47564372594934]