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.001325/0.001325, allocations: 123.4 kB / 18.46 MB, free: 4.598 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.001499/0.001499, allocations: 192.3 kB / 21.4 MB, free: 1.668 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.447/1.447, allocations: 225.6 MB / 249.8 MB, free: 3.734 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 0.001551/0.001551, allocations: 51.92 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1116, allocations: 52.13 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003476/0.1151, allocations: 1.884 MB / 420.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1163, allocations: 0.6312 MB / 421.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1164, allocations: 4 kB / 421.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.1166, allocations: 19.73 kB / 421.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.1167, allocations: 27.78 kB / 421.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.117, allocations: 102.8 kB / 421.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1172, allocations: 143.5 kB / 421.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1174, allocations: 41.72 kB / 421.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1175, allocations: 55.73 kB / 421.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.993e-05/0.1176, allocations: 51.69 kB / 421.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.1176, allocations: 16 kB / 421.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.1176, allocations: 8 kB / 421.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.1177, allocations: 27.92 kB / 422 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.1178, allocations: 67.48 kB / 422 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.118, allocations: 139.4 kB / 422.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.118, allocations: 0 / 422.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.118, allocations: 0 / 422.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.118, allocations: 0 / 422.2 MB, free: 8.902 MB / 350.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.0006774/0.1187, allocations: 458.8 kB / 422.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1187, allocations: 15.89 kB / 422.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.1187, allocations: 20.8 kB / 422.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1191, allocations: 245.1 kB / 422.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1191, allocations: 16.06 kB / 422.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1191, allocations: 8 kB / 422.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.1197, allocations: 277.4 kB / 423.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1198, allocations: 4 kB / 423.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1198, allocations: 4 kB / 423.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1198, allocations: 4 kB / 423.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.12, allocations: 75.88 kB / 423.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.1206, allocations: 431.4 kB / 423.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.1211, allocations: 286 kB / 424 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.1213, allocations: 104.4 kB / 424.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.1213, allocations: 11.97 kB / 424.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.1214, allocations: 38.5 kB / 424.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.1214, allocations: 0 / 424.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006043/0.122, allocations: 213.9 kB / 424.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.1221, allocations: 207.8 kB / 424.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1223, allocations: 179.1 kB / 424.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1223, allocations: 29.7 kB / 424.7 MB, free: 6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.552e-05/0.1224, allocations: 104.1 kB / 424.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.1225, allocations: 11.95 kB / 424.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.1225, allocations: 33.7 kB / 424.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1227, allocations: 330.8 kB / 425.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-05/0.1228, allocations: 19.98 kB / 425.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.1229, allocations: 138.4 kB / 425.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1231, allocations: 153.6 kB / 425.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1232, allocations: 4 kB / 425.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002888/0.1234, allocations: 165.5 kB / 425.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1235, allocations: 11.94 kB / 425.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1235, allocations: 4 kB / 425.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.1235, allocations: 4.375 kB / 425.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1236, allocations: 35.92 kB / 425.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.1236, allocations: 11.98 kB / 425.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/0.1237, allocations: 11.89 kB / 425.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.1237, allocations: 11.94 kB / 425.8 MB, free: 4.844 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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 prepare postOptimizeDAE: time 0.0001418/0.1239, allocations: 145.9 kB / 425.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.1242, allocations: 145.4 kB / 426 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.1242, allocations: 25.39 kB / 426.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-06/0.1243, allocations: 4 kB / 426.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1243, allocations: 0 / 426.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1243, allocations: 0 / 426.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.1246, allocations: 217.5 kB / 426.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1246, allocations: 0 / 426.3 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1247, allocations: 43.94 kB / 426.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.1247, allocations: 7.938 kB / 426.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1248, allocations: 4 kB / 426.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1248, allocations: 4 kB / 426.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1248, allocations: 0 / 426.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.1252, allocations: 359.5 kB / 426.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1253, allocations: 108.9 kB / 426.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1254, allocations: 11.94 kB / 426.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1255, allocations: 7.984 kB / 426.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1255, allocations: 8 kB / 426.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1256, allocations: 4 kB / 426.8 MB, free: 3.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1257, allocations: 141.2 kB / 427 MB, free: 3.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1257, allocations: 0 / 427 MB, free: 3.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000331/0.126, allocations: 20 kB / 427 MB, free: 3.5 MB / 350.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.0001442/0.1262, allocations: 103.1 kB / 427.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.1265, allocations: 120.4 kB / 427.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1265, allocations: 0 / 427.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.1266, allocations: 12 kB / 427.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.1272, allocations: 100.2 kB / 427.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.1282, allocations: 389.3 kB / 427.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.1286, allocations: 0.7318 MB / 428.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.1287, allocations: 19.44 kB / 428.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1287, allocations: 0 / 428.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of Templates: time 0.004047/0.1327, allocations: 1.777 MB / 430.2 MB, free: 200 kB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.691255237907171]