Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.0008358/0.0008358, allocations: 84 kB / 21.43 MB, free: 3.129 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.003248/0.003248, allocations: 141.4 kB / 24.68 MB, free: 9.43 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.8583/0.8583, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.49e-05, allocations: 2.281 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002289/0.002314, allocations: 1.827 MB / 321.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007752/0.003089, allocations: 0.5961 MB / 322.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.003189, allocations: 11.88 kB / 322.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.003306, allocations: 23.73 kB / 322.2 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.003413, allocations: 23.8 kB / 322.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.003669, allocations: 106.3 kB / 322.3 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.003815, allocations: 151.5 kB / 322.4 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.00394, allocations: 37.97 kB / 322.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.004043, allocations: 79.8 kB / 322.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.004106, allocations: 35.83 kB / 322.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.004132, allocations: 12 kB / 322.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.004145, allocations: 8 kB / 322.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.004195, allocations: 23.92 kB / 322.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.004232, allocations: 39.84 kB / 322.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.004387, allocations: 143.5 kB / 322.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.004392, allocations: 4 kB / 322.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004393, allocations: 7.938 kB / 322.8 MB, free: 2.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.004397, 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.0004298/0.004827, allocations: 369.8 kB / 323.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.004864, allocations: 12.03 kB / 323.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.004901, allocations: 20.8 kB / 323.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.005157, allocations: 183.3 kB / 323.4 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.005171, allocations: 16.5 kB / 323.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.005184, allocations: 8.375 kB / 323.4 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.005567, allocations: 311.8 kB / 323.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005575, allocations: 0 / 323.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.005588, allocations: 4 kB / 323.7 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.005593, allocations: 11.94 kB / 323.7 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.005707, allocations: 67.89 kB / 323.8 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.006013, allocations: 355.1 kB / 324.1 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.00629, allocations: 205 kB / 324.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.00664, allocations: 108.2 kB / 324.5 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.006661, allocations: 4 kB / 324.5 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.006681, allocations: 42.55 kB / 324.5 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.006682, allocations: 0 / 324.5 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003263/0.007009, allocations: 217.6 kB / 324.7 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.007081, allocations: 195.9 kB / 324.9 MB, free: 376 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.007192, allocations: 187.2 kB / 325.1 MB, free: 180 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.007205, allocations: 29.7 kB / 325.1 MB, free: 144 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.007248, allocations: 100.1 kB / 325.2 MB, free: 40 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.007264, allocations: 16.31 kB / 325.2 MB, free: 24 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.007289, allocations: 13.72 kB / 325.2 MB, free: 4 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.007372, allocations: 318.8 kB / 325.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.007397, allocations: 8 kB / 325.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.007434, allocations: 64.14 kB / 325.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.455e-05/0.007478, allocations: 33.83 kB / 325.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.00748, allocations: 3.938 kB / 325.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.307e-05/0.007553, allocations: 57.64 kB / 325.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.007564, allocations: 4 kB / 325.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.007569, allocations: 3.984 kB / 325.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.007582, allocations: 4 kB / 325.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.007632, allocations: 8.062 kB / 325.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.007639, allocations: 3.938 kB / 325.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.007669, allocations: 15.89 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.007674, allocations: 7.922 kB / 325.8 MB, free: 15.45 MB / 298.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 7.246e-05/0.007747, allocations: 121.8 kB / 325.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.007896, allocations: 137.5 kB / 326 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.007927, allocations: 21.45 kB / 326 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.007931, allocations: 4 kB / 326 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.007935, allocations: 4.031 kB / 326 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.007939, allocations: 4.172 kB / 326 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.008087, allocations: 141.3 kB / 326.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.00809, allocations: 4 kB / 326.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.008163, allocations: 39.91 kB / 326.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.008166, allocations: 3.984 kB / 326.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.008175, allocations: 8 kB / 326.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.008177, allocations: 0 / 326.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.008179, allocations: 4 kB / 326.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.008407, allocations: 365.1 kB / 326.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.008454, allocations: 27.83 kB / 326.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.008472, allocations: 11.98 kB / 326.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.008545, allocations: 8 kB / 326.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.008572, allocations: 7.984 kB / 326.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.00858, allocations: 7.938 kB / 326.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.741e-05/0.008648, allocations: 137.2 kB / 326.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008648, allocations: 0 / 326.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.00883, allocations: 15.98 kB / 326.8 MB, free: 14.32 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: 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 8.279e-05/0.008912, allocations: 107.2 kB / 326.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.009054, allocations: 75.83 kB / 327 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.009056, allocations: 0 / 327 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.009077, allocations: 15.94 kB / 327 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.009466, allocations: 92.27 kB / 327.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.01016, allocations: 463.3 kB / 327.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.378e-05/0.01023, allocations: 106.8 kB / 327.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.01026, allocations: 16.5 kB / 327.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.01026, allocations: 0 / 327.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Templates: time 0.002192/0.01246, allocations: 1.682 MB / 329.4 MB, free: 11.72 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.061967303976417]