Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.002016/0.002016, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.002591/0.002591, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 43.92 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2817, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003218/0.2849, allocations: 1.582 MB / 434 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004178/0.2854, allocations: 139.5 kB / 434.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.756e-05/0.2854, allocations: 3.938 kB / 434.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.33e-05/0.2855, allocations: 7.938 kB / 434.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.2856, allocations: 11.86 kB / 434.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.2859, allocations: 35.91 kB / 434.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.286, allocations: 35.86 kB / 434.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2861, allocations: 11.98 kB / 434.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.2861, allocations: 11.94 kB / 434.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.2862, allocations: 19.92 kB / 434.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.2862, allocations: 4 kB / 434.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.2862, allocations: 4 kB / 434.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.2863, allocations: 15.92 kB / 434.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.2863, allocations: 23.8 kB / 434.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2864, allocations: 43.42 kB / 434.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2864, allocations: 4 kB / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2864, allocations: 0 / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2864, allocations: 0 / 434.3 MB, free: 4.977 MB / 334.1 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.0005061/0.287, allocations: 295.7 kB / 434.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.287, allocations: 12.03 kB / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.287, allocations: 8.891 kB / 434.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.2873, allocations: 136.3 kB / 434.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.2873, allocations: 384 / 434.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.2873, allocations: 12.36 kB / 434.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.2876, allocations: 121.5 kB / 434.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2876, allocations: 192 / 434.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2876, allocations: 3.938 kB / 434.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.2877, allocations: 4 kB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/0.2877, allocations: 15.98 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.2881, allocations: 228.8 kB / 435.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.2882, allocations: 61.14 kB / 435.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.2883, allocations: 29.77 kB / 435.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.2883, allocations: 0 / 435.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.2884, allocations: 38.5 kB / 435.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.2884, allocations: 0 / 435.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002603/0.2886, allocations: 85.72 kB / 435.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.2887, allocations: 81.11 kB / 435.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2888, allocations: 134 kB / 435.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2888, allocations: 25.7 kB / 435.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.2889, allocations: 88.27 kB / 435.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.2889, allocations: 15.89 kB / 435.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.289, allocations: 17.7 kB / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2891, allocations: 314.8 kB / 436 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/0.2891, allocations: 7.984 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.2892, allocations: 31.44 kB / 436.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.7e-05/0.2893, allocations: 47.36 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2893, allocations: 0 / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001306/0.2894, allocations: 69.55 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2894, allocations: 12.06 kB / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2895, allocations: 4 kB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2895, allocations: 0 / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.2895, allocations: 8 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2895, allocations: 4 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.2896, allocations: 11.94 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2896, allocations: 0 / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 0.0001093/0.2897, allocations: 121.8 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.2898, allocations: 45.62 kB / 436.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.2898, allocations: 16.34 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2898, allocations: 0 / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2898, allocations: 4 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2898, allocations: 3.938 kB / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.29, allocations: 144.6 kB / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.29, allocations: 0 / 436.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.2901, allocations: 11.98 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2901, allocations: 0 / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.2901, allocations: 4 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2901, allocations: 0 / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2901, allocations: 0 / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.2903, allocations: 164.3 kB / 436.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.2903, allocations: 23.88 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2903, allocations: 0 / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.2904, allocations: 4 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.2904, allocations: 0 / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.2904, allocations: 8 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.89e-05/0.2905, allocations: 106.2 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2905, allocations: 0 / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.2907, allocations: 8 kB / 436.9 MB, free: 2.113 MB / 334.1 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.0001223/0.2908, allocations: 99.19 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.291, allocations: 27.92 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.291, allocations: 256 / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.387e-05/0.291, allocations: 11.98 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.2914, allocations: 27.84 kB / 437 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.2917, allocations: 184.1 kB / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.2921, allocations: 0.6924 MB / 437.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.2921, allocations: 11.44 kB / 437.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2921, allocations: 0 / 437.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of Templates: time 0.002449/0.2946, allocations: 0.6907 MB / 438.6 MB, free: 316 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.192754838149995]