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.001807/0.001807, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 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.0019/0.0019, allocations: 156.8 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.504/1.504, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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 2.756e-06/2.756e-06, allocations: 1.25 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.803e-05, allocations: 2.281 kB / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002828/0.002856, allocations: 1.826 MB / 320.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003918, allocations: 0.6007 MB / 321.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.004048, allocations: 11.34 kB / 321.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.004196, allocations: 17.42 kB / 321.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.004329, allocations: 26.38 kB / 321.4 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.004667, allocations: 103.1 kB / 321.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.004853, allocations: 140.2 kB / 321.6 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.00501, allocations: 45.73 kB / 321.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.00516, allocations: 76.3 kB / 321.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.632e-05/0.005256, allocations: 41.31 kB / 321.8 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.005289, allocations: 13.72 kB / 321.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.576e-05/0.005315, allocations: 9.844 kB / 321.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.005384, allocations: 27.06 kB / 321.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.005449, allocations: 39.59 kB / 321.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.005687, allocations: 146.1 kB / 322 MB, free: 1.582 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.00569, allocations: 0 / 322 MB, free: 1.582 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.005693, allocations: 1.281 kB / 322 MB, free: 1.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.005698, allocations: 0 / 322 MB, free: 1.582 MB / 286.1 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.0005817/0.006279, allocations: 378 kB / 322.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.006317, allocations: 8.656 kB / 322.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.006376, allocations: 30.53 kB / 322.4 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.006656, allocations: 180.9 kB / 322.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.006677, allocations: 8.828 kB / 322.6 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.006698, allocations: 11.28 kB / 322.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.007306, allocations: 305.8 kB / 322.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.007318, allocations: 3.938 kB / 322.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.007332, allocations: 7.625 kB / 323 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.007339, allocations: 3.625 kB / 323 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.007553, allocations: 70.62 kB / 323 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.007939, allocations: 356.1 kB / 323.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.008397, allocations: 203.5 kB / 323.6 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.008572, allocations: 111.6 kB / 323.7 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.008606, allocations: 4.203 kB / 323.7 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.008626, allocations: 43.41 kB / 323.7 MB, free: 228 kB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.008628, allocations: 4 kB / 323.7 MB, free: 224 kB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005531/0.009181, allocations: 210 kB / 323.9 MB, free: 136 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.009307, allocations: 204.4 kB / 324.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.009508, allocations: 175.5 kB / 324.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.009536, allocations: 30.95 kB / 324.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.009618, allocations: 105 kB / 324.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.009635, allocations: 10.62 kB / 324.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.009679, allocations: 19.22 kB / 324.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.009839, allocations: 320.9 kB / 324.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.009884, allocations: 7.391 kB / 324.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.009966, allocations: 55.17 kB / 324.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.284e-05/0.01006, allocations: 34.8 kB / 324.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01006, allocations: 0 / 324.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001416/0.0102, allocations: 62.48 kB / 324.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.01022, allocations: 5.438 kB / 324.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01022, allocations: 1.125 kB / 324.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01024, allocations: 0 / 324.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.0103, allocations: 10.36 kB / 325 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.01031, allocations: 5.812 kB / 325 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.01037, allocations: 7.984 kB / 325 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01038, allocations: 5.578 kB / 325 MB, free: 15.16 MB / 302.1 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 0.000129/0.01051, allocations: 124.1 kB / 325.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.01083, allocations: 145 kB / 325.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.01088, allocations: 20.73 kB / 325.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.01089, allocations: 4.203 kB / 325.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.01089, allocations: 1.531 kB / 325.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.0109, allocations: 9.594 kB / 325.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.01117, allocations: 141.8 kB / 325.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.01117, allocations: 2.406 kB / 325.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.01133, allocations: 37.25 kB / 325.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01133, allocations: 5.719 kB / 325.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.01135, allocations: 2.438 kB / 325.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.01135, allocations: 4.391 kB / 325.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01135, allocations: 0 / 325.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.01192, allocations: 364.9 kB / 325.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.012, allocations: 31.22 kB / 325.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.01203, allocations: 12.27 kB / 325.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.01218, allocations: 9.016 kB / 325.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.01222, allocations: 12.06 kB / 325.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.01223, allocations: 12 kB / 325.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.01236, allocations: 139.3 kB / 326 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01236, allocations: 0 / 326 MB, free: 14.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.01264, allocations: 12.38 kB / 326 MB, free: 14.38 MB / 302.1 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 0.0001395/0.01278, allocations: 104.4 kB / 326.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.01304, allocations: 65.45 kB / 326.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01304, allocations: 5.5 kB / 326.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.01309, allocations: 13.59 kB / 326.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.01374, allocations: 97.89 kB / 326.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.01512, allocations: 433.2 kB / 326.7 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.01525, allocations: 117.8 kB / 326.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.01531, allocations: 15.59 kB / 326.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.01536, allocations: 14.8 kB / 326.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01536, allocations: 1.156 kB / 326.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of Templates: time 0.005565/0.02092, allocations: 1.712 MB / 328.6 MB, free: 13.68 MB / 302.1 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.326346263289452]