Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001424/0.001424, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00161/0.00161, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.544/1.544, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 325.1 MB, free: 400 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.88e-05, allocations: 7.375 kB / 325.1 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004437/0.004466, allocations: 1.85 MB / 326.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.006277, allocations: 0.6621 MB / 327.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.006436, allocations: 11.28 kB / 327.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.006585, allocations: 21.2 kB / 327.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.006721, allocations: 31.75 kB / 327.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.007177, allocations: 113.4 kB / 327.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.00741, allocations: 149.2 kB / 327.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.007561, allocations: 41.72 kB / 327.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.0078, allocations: 88.41 kB / 328 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.007906, allocations: 29.44 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.007937, allocations: 9.719 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.086e-05/0.008008, allocations: 20.64 kB / 328.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.008085, allocations: 27.14 kB / 328.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.008145, allocations: 40.02 kB / 328.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.008448, allocations: 145.1 kB / 328.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.008452, allocations: 0 / 328.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008453, allocations: 5.219 kB / 328.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.008459, allocations: 3.938 kB / 328.3 MB, free: 14.32 MB / 302.1 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.0006887/0.009148, allocations: 384.4 kB / 328.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.009187, allocations: 9.031 kB / 328.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.009361, allocations: 26.14 kB / 328.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.009689, allocations: 189.2 kB / 328.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.009708, allocations: 7.312 kB / 328.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.00973, allocations: 13.97 kB / 328.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.01047, allocations: 322 kB / 329.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.01048, allocations: 1.062 kB / 329.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.0105, allocations: 1.828 kB / 329.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.01051, allocations: 6.281 kB / 329.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.01073, allocations: 74.05 kB / 329.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.01119, allocations: 353.3 kB / 329.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.01167, allocations: 211 kB / 329.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.01188, allocations: 111.5 kB / 330 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.0119, allocations: 4.5 kB / 330 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.01194, allocations: 39.5 kB / 330 MB, free: 12.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.01194, allocations: 0 / 330 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005981/0.01254, allocations: 217.6 kB / 330.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.01267, allocations: 201 kB / 330.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.01287, allocations: 185.3 kB / 330.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.01289, allocations: 30.8 kB / 330.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.01298, allocations: 104.8 kB / 330.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.01299, allocations: 11.33 kB / 330.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.01304, allocations: 25.16 kB / 330.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.0132, allocations: 325.8 kB / 331.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.661e-05/0.01324, allocations: 8.25 kB / 331.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/0.01333, allocations: 63.38 kB / 331.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.01344, allocations: 50.28 kB / 331.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01344, allocations: 0 / 331.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001571/0.0136, allocations: 75.03 kB / 331.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01361, allocations: 5.219 kB / 331.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01361, allocations: 0 / 331.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.01363, allocations: 1.641 kB / 331.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.0137, allocations: 17.97 kB / 331.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01371, allocations: 1.672 kB / 331.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.01377, allocations: 4.406 kB / 331.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.01377, allocations: 2.188 kB / 331.3 MB, free: 11.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001372/0.01391, allocations: 128.4 kB / 331.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.01422, allocations: 143.4 kB / 331.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.01427, allocations: 22.14 kB / 331.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01428, allocations: 7.188 kB / 331.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.01428, allocations: 1.25 kB / 331.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.01429, allocations: 10.33 kB / 331.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.01455, allocations: 157.7 kB / 331.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.01455, allocations: 1.828 kB / 331.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.0147, allocations: 43.2 kB / 331.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.0147, allocations: 2.188 kB / 331.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01472, allocations: 3.078 kB / 331.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01472, allocations: 3.047 kB / 331.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01472, allocations: 1.344 kB / 331.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.01519, allocations: 373.6 kB / 332.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.01527, allocations: 36.23 kB / 332.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.0153, allocations: 3.297 kB / 332.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.01545, allocations: 14.12 kB / 332.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.01549, allocations: 3.297 kB / 332.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.0155, allocations: 4.688 kB / 332.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.01563, allocations: 135.7 kB / 332.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01563, allocations: 0 / 332.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.01593, allocations: 17 kB / 332.4 MB, free: 11.07 MB / 302.1 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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001472/0.01607, allocations: 108.6 kB / 332.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.01633, allocations: 71.33 kB / 332.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.01634, allocations: 1.094 kB / 332.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.01638, allocations: 12.83 kB / 332.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.01705, allocations: 113.4 kB / 332.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.01772, allocations: 325.5 kB / 333 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.01786, allocations: 112.2 kB / 333.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.894e-05/0.01791, allocations: 10.66 kB / 333.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.01796, allocations: 19.45 kB / 333.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01796, allocations: 5.031 kB / 333.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of Templates: time 0.005196/0.02316, allocations: 1.775 MB / 334.9 MB, free: 9.633 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.53579168766737]