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.001263/0.001263, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009256/0.0009256, allocations: 138.6 kB / 24.97 MB, free: 9.309 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.9199/0.9199, allocations: 173.4 MB / 201.5 MB, free: 9.273 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.593e-06/1.593e-06, allocations: 3.938 kB / 268.1 MB, free: 6.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.718e-05, allocations: 2.312 kB / 268.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002282/0.002309, allocations: 1.876 MB / 270 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.003158, allocations: 0.6231 MB / 270.6 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.003276, allocations: 7.938 kB / 270.6 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.003419, allocations: 19.78 kB / 270.6 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.003544, allocations: 23.75 kB / 270.6 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.003818, allocations: 103.6 kB / 270.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.003983, allocations: 143.5 kB / 270.9 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.00412, allocations: 37.97 kB / 270.9 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.004225, allocations: 75.81 kB / 271 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.004294, allocations: 43.75 kB / 271 MB, free: 3.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.004321, allocations: 12 kB / 271 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.004335, allocations: 12 kB / 271.1 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.004397, allocations: 31.86 kB / 271.1 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.004438, allocations: 35.91 kB / 271.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.004588, allocations: 91.59 kB / 271.2 MB, free: 3.516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00459, allocations: 0 / 271.2 MB, free: 3.516 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004591, allocations: 0 / 271.2 MB, free: 3.516 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004595, allocations: 0 / 271.2 MB, free: 3.516 MB / 250.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.0004679/0.005063, allocations: 479.9 kB / 271.7 MB, free: 3.012 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.005099, allocations: 8.031 kB / 271.7 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.005154, allocations: 32.8 kB / 271.7 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.005369, allocations: 185.3 kB / 271.9 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.005389, allocations: 8.562 kB / 271.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.005405, allocations: 8.375 kB / 271.9 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.005769, allocations: 290.9 kB / 272.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.005777, allocations: 0 / 272.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.005791, allocations: 8 kB / 272.2 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.0058, allocations: 0 / 272.2 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.03e-05/0.00586, allocations: 31.91 kB / 272.2 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.006245, allocations: 461.5 kB / 272.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.006484, allocations: 203.3 kB / 272.9 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.396e-05/0.006568, allocations: 90.53 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.006587, allocations: 7.938 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.006612, allocations: 45.33 kB / 273 MB, free: 1.441 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.006614, allocations: 0 / 273 MB, free: 1.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.000248/0.006862, allocations: 145.6 kB / 273.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.00694, allocations: 199.9 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.007065, allocations: 230.7 kB / 273.6 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.00708, allocations: 29.7 kB / 273.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.007142, allocations: 151.2 kB / 273.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.007156, allocations: 11.95 kB / 273.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.007185, allocations: 23.38 kB / 273.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.007313, allocations: 0.4884 MB / 274.3 MB, free: 84 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.007327, allocations: 4 kB / 274.3 MB, free: 80 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.007362, allocations: 60.75 kB / 274.4 MB, free: 0 / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.007407, allocations: 23.38 kB / 274.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.007409, allocations: 0 / 274.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.783e-05/0.007467, allocations: 49.55 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.007479, allocations: 12.14 kB / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.007484, allocations: 4 kB / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.007498, allocations: 0 / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.007548, allocations: 4 kB / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.007554, allocations: 3.938 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.007583, allocations: 7.938 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.007587, allocations: 0 / 274.5 MB, free: 15.88 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 7.096e-05/0.007658, allocations: 164.6 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.007774, allocations: 109.5 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.007811, allocations: 21.45 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.007815, allocations: 8.031 kB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.007819, allocations: 0 / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.007825, allocations: 7.938 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.007978, allocations: 164.5 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007979, allocations: 0 / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.012e-05/0.008049, allocations: 39.91 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008051, allocations: 0 / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.00806, allocations: 4 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008061, allocations: 0 / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.008062, allocations: 0 / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.008268, allocations: 433.8 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.008314, allocations: 31.83 kB / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.00833, allocations: 4 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.008399, allocations: 8 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.008432, allocations: 7.984 kB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-06/0.008439, allocations: 7.938 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.008514, allocations: 169.1 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008514, allocations: 0 / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001722/0.008687, allocations: 12 kB / 275.6 MB, free: 14.62 MB / 266.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.359e-05/0.00877, allocations: 114.5 kB / 275.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.00888, allocations: 43.61 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.008881, allocations: 0 / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.008897, allocations: 11.69 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.009305, allocations: 85.97 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.01007, allocations: 377.9 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.35e-05/0.01013, allocations: 79.83 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.148e-05/0.01016, allocations: 16.81 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.01019, allocations: 12.5 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01019, allocations: 4 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Templates: time 0.003413/0.01361, allocations: 1.722 MB / 278.1 MB, free: 12.12 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8438600299414247]