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.001094/0.001094, 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.001092/0.001092, allocations: 143.2 kB / 24.98 MB, free: 8.316 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.9989/0.9989, allocations: 173.3 MB / 201.5 MB, free: 9.32 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 1.743e-06/1.743e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.873e-05, allocations: 2.312 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.006101/0.00613, allocations: 1.884 MB / 270 MB, free: 4.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.007171, allocations: 0.6115 MB / 270.6 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.007311, allocations: 11.88 kB / 270.6 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.007472, allocations: 23.78 kB / 270.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.008729, allocations: 23.81 kB / 270.6 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.009235, allocations: 111.6 kB / 270.7 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.009475, allocations: 143.5 kB / 270.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.009652, allocations: 33.97 kB / 270.9 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.009811, allocations: 79.81 kB / 271 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.009896, allocations: 35.81 kB / 271 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.009928, allocations: 12 kB / 271 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.009946, allocations: 11.94 kB / 271 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.01001, allocations: 31.91 kB / 271.1 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.01006, allocations: 39.86 kB / 271.1 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.01028, allocations: 95.59 kB / 271.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01029, allocations: 0 / 271.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01029, allocations: 0 / 271.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.01029, allocations: 0 / 271.2 MB, free: 3.559 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.0006178/0.01091, allocations: 472 kB / 271.7 MB, free: 3.062 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.01096, allocations: 15.91 kB / 271.7 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.01104, allocations: 28.8 kB / 271.7 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.01134, allocations: 185.3 kB / 271.9 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.01137, allocations: 8.562 kB / 271.9 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.01139, allocations: 12.38 kB / 271.9 MB, free: 2.789 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.01192, allocations: 298.6 kB / 272.2 MB, free: 2.449 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.01193, allocations: 0 / 272.2 MB, free: 2.449 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.01195, allocations: 8 kB / 272.2 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.01196, allocations: 4 kB / 272.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.01203, allocations: 31.86 kB / 272.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.01252, allocations: 469.5 kB / 272.7 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.0129, allocations: 203.3 kB / 272.9 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.013, allocations: 82.48 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.01303, allocations: 7.984 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.01306, allocations: 53.33 kB / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.01306, allocations: 0 / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003519/0.01342, allocations: 141.4 kB / 273.2 MB, free: 1.316 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.01353, allocations: 207.8 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.01369, allocations: 222.7 kB / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.0137, allocations: 29.7 kB / 273.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.01377, allocations: 151.2 kB / 273.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.01379, allocations: 11.88 kB / 273.8 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.01384, allocations: 27.38 kB / 273.8 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.01398, allocations: 0.4926 MB / 274.3 MB, free: 96 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.01399, allocations: 8 kB / 274.3 MB, free: 88 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.01406, allocations: 68.44 kB / 274.4 MB, free: 16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.35e-05/0.01412, allocations: 39 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.01412, allocations: 4 kB / 274.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002332/0.01435, allocations: 57.58 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.01437, allocations: 8 kB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01438, allocations: 4.125 kB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01439, allocations: 0 / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.01447, allocations: 11.98 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.01448, allocations: 0 / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.01452, allocations: 7.953 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.01453, allocations: 0 / 274.5 MB, free: 15.85 MB / 266.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 9.756e-05/0.01463, allocations: 164.5 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.01481, allocations: 121.4 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.01486, allocations: 21.45 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.01486, allocations: 4.328 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01487, allocations: 4.031 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.01488, allocations: 8 kB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.0151, allocations: 164.5 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01511, allocations: 0 / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.01522, allocations: 35.97 kB / 275 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01522, allocations: 0 / 275 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.01524, allocations: 8 kB / 275 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01524, allocations: 0 / 275 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01524, allocations: 7.938 kB / 275 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.01552, allocations: 420.9 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.01558, allocations: 35.88 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.01561, allocations: 4 kB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.01574, allocations: 8 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.01578, allocations: 7.984 kB / 275.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01579, allocations: 4 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.01589, allocations: 169.1 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01589, allocations: 0 / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003036/0.01619, allocations: 19.94 kB / 275.7 MB, free: 14.58 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: 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 0.0001189/0.01631, allocations: 103.2 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.01646, allocations: 51.52 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01646, allocations: 0 / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.01648, allocations: 19.62 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.01705, allocations: 93.03 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.01782, allocations: 314.5 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.01789, allocations: 79.83 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.01794, allocations: 13.14 kB / 276.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.01799, allocations: 20.44 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01799, allocations: 0 / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Templates: time 0.005569/0.02356, allocations: 1.799 MB / 278.2 MB, free: 12.05 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] 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","",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.9022711052093655]