Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001098/0.001098, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.00103/0.00103, allocations: 166.7 kB / 24.99 MB, free: 8.789 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.428e-05, allocations: 2.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002515/0.00254, allocations: 1.894 MB / 275 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003605, allocations: 0.6816 MB / 275.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.003741, allocations: 11.88 kB / 275.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.003879, allocations: 19.8 kB / 275.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.004, allocations: 27.73 kB / 275.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.004395, allocations: 103.7 kB / 275.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.004567, allocations: 147.5 kB / 275.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.004714, allocations: 49.89 kB / 276 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.004895, allocations: 83.73 kB / 276.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.00497, allocations: 35.89 kB / 276.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.004991, allocations: 8 kB / 276.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.29e-05/0.005034, allocations: 16 kB / 276.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.005087, allocations: 35.84 kB / 276.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.005126, allocations: 35.86 kB / 276.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.005318, allocations: 103.6 kB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00532, allocations: 0 / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005322, allocations: 0 / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.005328, allocations: 0 / 276.3 MB, free: 14.57 MB / 266.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.0005219/0.00585, allocations: 476 kB / 276.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.005888, allocations: 8.031 kB / 276.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.006048, allocations: 40.83 kB / 276.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.0063, allocations: 204.9 kB / 277 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.006323, allocations: 8.562 kB / 277 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.006337, allocations: 4.375 kB / 277 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.006728, allocations: 279.6 kB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.006736, allocations: 3.938 kB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.006751, allocations: 8 kB / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.006758, allocations: 0 / 277.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.006814, allocations: 31.92 kB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.007206, allocations: 461.6 kB / 277.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.00746, allocations: 199.5 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.007546, allocations: 90.42 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.007569, allocations: 7.984 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.007605, allocations: 41.39 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.007607, allocations: 0 / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002843/0.007891, allocations: 145.7 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.007995, allocations: 199.9 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.008141, allocations: 238.5 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.008156, allocations: 25.7 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.008229, allocations: 155.2 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.008248, allocations: 15.94 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.008282, allocations: 19.38 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.008421, allocations: 0.4923 MB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.008435, allocations: 0 / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.284e-05/0.008478, allocations: 56.77 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.008517, allocations: 27.3 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.008519, allocations: 3.938 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.217e-05/0.008591, allocations: 49.78 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.008607, allocations: 8 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008612, allocations: 0 / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.008626, allocations: 3.938 kB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.008689, allocations: 11.98 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.008696, allocations: 3.938 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.008725, allocations: 4 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.00873, allocations: 0 / 279.6 MB, free: 10.92 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 8.057e-05/0.008811, allocations: 160.6 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.008934, allocations: 113.5 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.008972, allocations: 29.52 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.008976, allocations: 4 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.00898, allocations: 7.938 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.008985, allocations: 3.938 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.009148, allocations: 152.5 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.00915, allocations: 0 / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/0.009226, allocations: 39.97 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.009229, allocations: 0 / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.009238, allocations: 4 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.00924, allocations: 0 / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009242, allocations: 8 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.009466, allocations: 421.8 kB / 280.5 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.00952, allocations: 35.88 kB / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.009536, allocations: 0 / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.009609, allocations: 12 kB / 280.5 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.009639, allocations: 3.984 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.009646, allocations: 7.938 kB / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.009721, allocations: 172.2 kB / 280.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009721, allocations: 0 / 280.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.0099, allocations: 12 kB / 280.7 MB, free: 9.676 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.963e-05/0.009989, allocations: 115.1 kB / 280.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.01011, allocations: 43.84 kB / 280.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01011, allocations: 0 / 280.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.01013, allocations: 11.69 kB / 280.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.01053, allocations: 95.86 kB / 281 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/0.01152, allocations: 370.1 kB / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.64e-05/0.01158, allocations: 79.83 kB / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.514e-05/0.01164, allocations: 21.08 kB / 281.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.01168, allocations: 16.5 kB / 281.5 MB, free: 8.852 MB / 266.7 MB Notification: Performance of SimCode: time 2.164e-06/0.01168, allocations: 0 / 281.5 MB, free: 8.852 MB / 266.7 MB Notification: Performance of Templates: time 0.003939/0.01562, allocations: 1.735 MB / 283.2 MB, free: 7.148 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9426081699784845]