Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008153/0.0008153, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005893/0.005893, allocations: 145.4 kB / 24.68 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8127/0.8127, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.82e-07/8.82e-07, allocations: 0 / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.178e-06/1.006e-05, allocations: 6.281 kB / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001737/0.001747, allocations: 1.816 MB / 321.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006415/0.002389, allocations: 0.6038 MB / 322.1 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.002457, allocations: 7.938 kB / 322.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.484e-05/0.002532, allocations: 27.73 kB / 322.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.677e-05/0.002599, allocations: 23.8 kB / 322.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.002781, allocations: 106.3 kB / 322.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.002896, allocations: 139.5 kB / 322.4 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.002978, allocations: 41.95 kB / 322.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.00305, allocations: 83.73 kB / 322.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.734e-05/0.003097, allocations: 43.83 kB / 322.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.003114, allocations: 8 kB / 322.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.003124, allocations: 12 kB / 322.6 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.003155, allocations: 27.91 kB / 322.6 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.003184, allocations: 39.86 kB / 322.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.003309, allocations: 135.5 kB / 322.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.00331, allocations: 0 / 322.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003311, allocations: 3.938 kB / 322.8 MB, free: 2.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.595e-06/0.003314, allocations: 0 / 322.8 MB, free: 2.703 MB / 282.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.0002998/0.003613, allocations: 377.7 kB / 323.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.041e-05/0.003634, allocations: 12.03 kB / 323.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.003661, allocations: 20.8 kB / 323.2 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.003826, allocations: 183.3 kB / 323.4 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.003835, allocations: 8.562 kB / 323.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.003844, allocations: 4.375 kB / 323.4 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.004167, allocations: 321.8 kB / 323.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.004172, allocations: 0 / 323.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.004182, allocations: 8 kB / 323.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.004186, allocations: 3.984 kB / 323.7 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.004302, allocations: 71.89 kB / 323.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.004544, allocations: 363.1 kB / 324.2 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.004781, allocations: 201 kB / 324.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.004882, allocations: 108.3 kB / 324.5 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.004896, allocations: 4 kB / 324.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.004915, allocations: 50.48 kB / 324.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 9.42e-07/0.004916, allocations: 0 / 324.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002849/0.005201, allocations: 213.3 kB / 324.7 MB, free: 0.582 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.005268, allocations: 195.9 kB / 324.9 MB, free: 356 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.005365, allocations: 179.2 kB / 325.1 MB, free: 168 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.005378, allocations: 34.08 kB / 325.1 MB, free: 128 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.005417, allocations: 104.5 kB / 325.2 MB, free: 16 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.005442, allocations: 20.02 kB / 325.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.005467, allocations: 25.66 kB / 325.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.005536, allocations: 322.6 kB / 325.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.005559, allocations: 11.98 kB / 325.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.096e-05/0.0056, allocations: 65.12 kB / 325.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.824e-05/0.005648, allocations: 42.5 kB / 325.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.00565, allocations: 8.031 kB / 325.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.05e-05/0.00572, allocations: 69.58 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.005729, allocations: 4 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.005732, allocations: 4 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.005738, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.571e-05/0.005773, allocations: 11.98 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005776, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.005803, allocations: 4 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.005806, allocations: 4.094 kB / 325.8 MB, free: 15.39 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 6.322e-05/0.005869, allocations: 133.8 kB / 325.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.006016, allocations: 141.4 kB / 326.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.006042, allocations: 29.45 kB / 326.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.006045, allocations: 4 kB / 326.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.006047, allocations: 3.938 kB / 326.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.00605, allocations: 0 / 326.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.006193, allocations: 145.2 kB / 326.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006195, allocations: 4 kB / 326.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.006262, allocations: 47.94 kB / 326.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006263, allocations: 0 / 326.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.00627, allocations: 8 kB / 326.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.006271, allocations: 4 kB / 326.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006272, allocations: 0 / 326.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.00649, allocations: 369 kB / 326.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.006533, allocations: 27.88 kB / 326.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.006549, allocations: 8 kB / 326.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.006621, allocations: 16 kB / 326.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.006637, allocations: 3.984 kB / 326.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.006642, allocations: 4 kB / 326.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.497e-05/0.006707, allocations: 141.1 kB / 326.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006707, allocations: 0 / 326.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.006877, allocations: 16 kB / 326.9 MB, free: 14.23 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 5.343e-05/0.006931, allocations: 103.2 kB / 327 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.007047, allocations: 78.7 kB / 327.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007048, allocations: 0 / 327.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/0.007069, allocations: 8 kB / 327.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.00741, allocations: 112.2 kB / 327.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.007735, allocations: 335.8 kB / 327.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.093e-05/0.007806, allocations: 123.8 kB / 327.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.007833, allocations: 16.5 kB / 327.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.007833, allocations: 0 / 327.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of Templates: time 0.001774/0.009606, allocations: 1.754 MB / 329.4 MB, free: 11.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.026407980360091]