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.000803/0.000803, allocations: 87.62 kB / 21.43 MB, free: 3.121 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.005412/0.005412, allocations: 161.4 kB / 24.7 MB, free: 9.438 MB / 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 0.8693/0.8693, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.644e-06/1.644e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.982e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002099/0.002119, allocations: 1.851 MB / 327.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008189/0.002938, allocations: 0.6621 MB / 328.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.003045, allocations: 11.88 kB / 328.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.003169, allocations: 19.8 kB / 328.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.003281, allocations: 31.72 kB / 328.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.003582, allocations: 107.6 kB / 328.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.00374, allocations: 151.5 kB / 328.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.003866, allocations: 41.95 kB / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.004008, allocations: 83.73 kB / 328.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.004079, allocations: 35.89 kB / 328.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.0041, allocations: 16 kB / 328.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.112e-05/0.004141, allocations: 12 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.004189, allocations: 31.84 kB / 328.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.004222, allocations: 39.86 kB / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.004408, allocations: 143.5 kB / 329.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00441, allocations: 0 / 329.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004411, allocations: 0 / 329.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.004416, allocations: 0 / 329.1 MB, free: 12.2 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004267/0.004842, allocations: 388.7 kB / 329.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.004875, allocations: 8.031 kB / 329.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.004988, allocations: 32.83 kB / 329.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.005221, allocations: 194.6 kB / 329.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.005236, allocations: 8.562 kB / 329.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.005248, allocations: 8.375 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.005682, allocations: 316.2 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.005692, allocations: 0 / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.005706, allocations: 4 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.005711, allocations: 4 kB / 330 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.00583, allocations: 79.88 kB / 330.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.006138, allocations: 359 kB / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.006411, allocations: 205 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.00652, allocations: 108.3 kB / 330.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.006541, allocations: 7.938 kB / 330.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.006562, allocations: 46.5 kB / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.006564, allocations: 0 / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003419/0.006906, allocations: 221.3 kB / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.006995, allocations: 191.9 kB / 331.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.00712, allocations: 183 kB / 331.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.007136, allocations: 38 kB / 331.4 MB, free: 9.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.007189, allocations: 104.5 kB / 331.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.007208, allocations: 7.938 kB / 331.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.007242, allocations: 25.67 kB / 331.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.007334, allocations: 322.8 kB / 331.9 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.007364, allocations: 19.92 kB / 331.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.688e-05/0.007411, allocations: 65.12 kB / 331.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.007469, allocations: 46.5 kB / 332 MB, free: 8.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007471, allocations: 4.031 kB / 332 MB, free: 8.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.466e-05/0.007555, allocations: 65.58 kB / 332.1 MB, free: 8.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.007569, allocations: 8 kB / 332.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007574, allocations: 0 / 332.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.007584, allocations: 0 / 332.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.00763, allocations: 11.98 kB / 332.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007635, allocations: 0 / 332.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.007665, allocations: 8 kB / 332.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.00767, allocations: 4.094 kB / 332.1 MB, free: 8.852 MB / 298.7 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 7.748e-05/0.007747, allocations: 133.8 kB / 332.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.0079, allocations: 137.5 kB / 332.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.007936, allocations: 21.45 kB / 332.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.00794, allocations: 4 kB / 332.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.007945, allocations: 0 / 332.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.007949, allocations: 4 kB / 332.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.008102, allocations: 165 kB / 332.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008104, allocations: 0 / 332.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.008175, allocations: 43.94 kB / 332.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.008178, allocations: 4 kB / 332.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.008187, allocations: 4 kB / 332.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.00819, allocations: 4 kB / 332.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008191, allocations: 0 / 332.6 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.008426, allocations: 369 kB / 333 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.008476, allocations: 39.81 kB / 333 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.008493, allocations: 4 kB / 333 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.008563, allocations: 12 kB / 333 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.008591, allocations: 3.984 kB / 333 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.008599, allocations: 12 kB / 333 MB, free: 7.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.16e-05/0.00867, allocations: 132.4 kB / 333.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00867, allocations: 0 / 333.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.008854, allocations: 16 kB / 333.2 MB, free: 7.699 MB / 298.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: 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 8.06e-05/0.008934, allocations: 103.2 kB / 333.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.009079, allocations: 80.22 kB / 333.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009081, allocations: 0 / 333.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.009103, allocations: 11.98 kB / 333.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.009504, allocations: 110.7 kB / 333.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.009906, allocations: 350.3 kB / 333.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.138e-05/0.009987, allocations: 123.8 kB / 333.9 MB, free: 6.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.01002, allocations: 12.5 kB / 333.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01002, allocations: 4 kB / 333.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of Templates: time 0.002267/0.01229, allocations: 1.742 MB / 335.7 MB, free: 5.121 MB / 298.7 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.323884457349777]