Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001494/0.001494, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.001514/0.001514, allocations: 149.1 kB / 24.26 MB, free: 156 kB / 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 1.48/1.48, allocations: 173.3 MB / 200.8 MB, free: 9.305 MB / 186.7 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.758e-05/3.965e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003983/0.004023, allocations: 1.561 MB / 268.9 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005258/0.004549, allocations: 143.5 kB / 269 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.004649, allocations: 4 kB / 269 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.193e-05/0.004711, allocations: 3.938 kB / 269 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.004889, allocations: 11.86 kB / 269.1 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.005181, allocations: 35.84 kB / 269.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.005307, allocations: 31.91 kB / 269.1 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.005416, allocations: 11.98 kB / 269.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.005486, allocations: 19.92 kB / 269.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.005542, allocations: 15.94 kB / 269.2 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.005563, allocations: 0 / 269.2 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.005575, allocations: 4 kB / 269.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.00564, allocations: 15.97 kB / 269.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.005682, allocations: 7.938 kB / 269.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.005847, allocations: 51.73 kB / 269.2 MB, free: 4.781 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.005853, allocations: 4 kB / 269.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.005855, allocations: 0 / 269.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.00586, allocations: 0 / 269.2 MB, free: 4.777 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005631/0.006423, allocations: 294.1 kB / 269.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.00647, allocations: 12.92 kB / 269.5 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.006531, allocations: 12.89 kB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.006837, allocations: 129.7 kB / 269.7 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.006851, allocations: 4.375 kB / 269.7 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.006864, allocations: 4.375 kB / 269.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.007219, allocations: 117.5 kB / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.007227, allocations: 4.188 kB / 269.8 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.007242, allocations: 4.375 kB / 269.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.007247, allocations: 384 / 269.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.309e-05/0.007331, allocations: 19.92 kB / 269.8 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.007727, allocations: 209.4 kB / 270 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.007952, allocations: 57.2 kB / 270.1 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.008024, allocations: 29.77 kB / 270.1 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.008047, allocations: 0 / 270.1 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.008079, allocations: 38.5 kB / 270.2 MB, free: 3.719 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.00808, allocations: 4 kB / 270.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003272/0.008407, allocations: 89.67 kB / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.008488, allocations: 81.09 kB / 270.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.008659, allocations: 141.4 kB / 270.5 MB, free: 3.375 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.008681, allocations: 25.7 kB / 270.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.008749, allocations: 84.14 kB / 270.6 MB, free: 3.258 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.008763, allocations: 0 / 270.6 MB, free: 3.258 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.008807, allocations: 17.67 kB / 270.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.008989, allocations: 315 kB / 270.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.009026, allocations: 12 kB / 270.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.009052, allocations: 7.984 kB / 270.9 MB, free: 2.898 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6e-05/0.009112, allocations: 16.86 kB / 270.9 MB, free: 2.879 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.009113, allocations: 0 / 270.9 MB, free: 2.879 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000113/0.009226, allocations: 53.61 kB / 271 MB, free: 2.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.009244, allocations: 4 kB / 271 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.009252, allocations: 3.938 kB / 271 MB, free: 2.812 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.00927, allocations: 4.094 kB / 271 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.778e-05/0.009328, allocations: 4 kB / 271 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.009334, allocations: 0 / 271 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.009366, allocations: 0 / 271 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.009374, allocations: 4 kB / 271 MB, free: 2.801 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001316/0.009505, allocations: 117.8 kB / 271.1 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.009597, allocations: 49.59 kB / 271.2 MB, free: 2.621 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.009649, allocations: 20.27 kB / 271.2 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.009652, allocations: 0 / 271.2 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.009658, allocations: 0 / 271.2 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.009663, allocations: 7.938 kB / 271.2 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.009901, allocations: 109.3 kB / 271.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.00991, allocations: 4 kB / 271.3 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/0.009979, allocations: 7.984 kB / 271.3 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.009987, allocations: 4 kB / 271.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.009995, allocations: 0 / 271.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.01, allocations: 3.938 kB / 271.3 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.01001, allocations: 4 kB / 271.3 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.01031, allocations: 168.3 kB / 271.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.01037, allocations: 19.95 kB / 271.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.01039, allocations: 0 / 271.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.01051, allocations: 11.92 kB / 271.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.01056, allocations: 0 / 271.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.01056, allocations: 0 / 271.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.0107, allocations: 103.3 kB / 271.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0107, allocations: 0 / 271.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.01106, allocations: 4 kB / 271.6 MB, free: 2.105 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001804/0.01124, allocations: 99.23 kB / 271.7 MB, free: 2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.01145, allocations: 23.98 kB / 271.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.01145, allocations: 0 / 271.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.01151, allocations: 7.938 kB / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.01198, allocations: 31.58 kB / 271.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.01252, allocations: 164 kB / 272 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.01264, allocations: 75.19 kB / 272 MB, free: 1.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.01267, allocations: 0 / 272 MB, free: 1.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.01271, allocations: 16.62 kB / 272 MB, free: 1.645 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01271, allocations: 0 / 272 MB, free: 1.645 MB / 250.7 MB Notification: Performance of Templates: time 0.003668/0.01638, allocations: 0.5129 MB / 272.6 MB, free: 1.133 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.304649655008689]