Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001824/0.001824, allocations: 103.6 kB / 21.18 MB, free: 0.668 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.001901/0.001901, allocations: 209.1 kB / 24.48 MB, free: 3.965 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.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 48.06 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.283, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003286/0.2862, allocations: 1.701 MB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004873/0.2867, allocations: 155.4 kB / 434.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.2868, allocations: 3.938 kB / 434.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.773e-05/0.2869, allocations: 11.86 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.287, allocations: 19.86 kB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.2873, allocations: 39.89 kB / 434.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.2874, allocations: 55.84 kB / 434.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2876, allocations: 22.94 kB / 434.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.2876, allocations: 27.8 kB / 434.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.2877, allocations: 31.86 kB / 434.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.2877, allocations: 4 kB / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.2877, allocations: 4 kB / 434.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.2878, allocations: 23.91 kB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.2878, allocations: 23.81 kB / 434.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.288, allocations: 67.38 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.288, allocations: 0 / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.288, allocations: 0 / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.288, allocations: 0 / 434.5 MB, free: 4.562 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005324/0.2885, allocations: 313.9 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2885, allocations: 16.03 kB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.2886, allocations: 8.891 kB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.2889, allocations: 142.3 kB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2889, allocations: 12.36 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.2889, allocations: 4.375 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.2893, allocations: 166.2 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2893, allocations: 192 / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2893, allocations: 11.94 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2893, allocations: 0 / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.2895, allocations: 35.97 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.2898, allocations: 309.5 kB / 435.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.2901, allocations: 104 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2902, allocations: 58.48 kB / 435.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.2902, allocations: 4 kB / 435.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2902, allocations: 42.5 kB / 435.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2902, allocations: 0 / 435.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003458/0.2906, allocations: 117.5 kB / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.2907, allocations: 106.8 kB / 435.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2908, allocations: 140.8 kB / 436.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2908, allocations: 29.7 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.2909, allocations: 92.08 kB / 436.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.2909, allocations: 4.203 kB / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.291, allocations: 37.66 kB / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2911, allocations: 318.8 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.2911, allocations: 11.98 kB / 436.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.791e-05/0.2912, allocations: 71.66 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.2914, allocations: 95.59 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2914, allocations: 0 / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.2916, allocations: 109.4 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2916, allocations: 8.281 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2916, allocations: 4 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.2916, allocations: 4 kB / 436.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.2917, allocations: 27.92 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2917, allocations: 7.938 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.2918, allocations: 11.89 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2918, allocations: 4 kB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001142/0.2919, allocations: 133.7 kB / 437 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.292, allocations: 69.8 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.292, allocations: 16.7 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.292, allocations: 4 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2921, allocations: 4 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2921, allocations: 0 / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.2923, allocations: 125.2 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2923, allocations: 3.938 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.2923, allocations: 16 kB / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2923, allocations: 4 kB / 437.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2924, allocations: 7.984 kB / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2924, allocations: 0 / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2924, allocations: 7.938 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.2927, allocations: 308.3 kB / 437.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.2928, allocations: 23.94 kB / 437.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.2928, allocations: 4 kB / 437.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.2929, allocations: 7.938 kB / 437.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.293, allocations: 7.984 kB / 437.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.293, allocations: 0 / 437.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.866e-05/0.293, allocations: 107.5 kB / 437.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.293, allocations: 0 / 437.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000281/0.2933, allocations: 16 kB / 437.7 MB, free: 0.9766 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001007/0.2934, allocations: 103.2 kB / 437.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.2936, allocations: 63.84 kB / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2936, allocations: 0 / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.2937, allocations: 8 kB / 437.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.2941, allocations: 43.86 kB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.2945, allocations: 225.4 kB / 438.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.363e-05/0.2946, allocations: 91.27 kB / 438.3 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.2946, allocations: 11.44 kB / 438.3 MB, free: 388 kB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2946, allocations: 0 / 438.3 MB, free: 388 kB / 334.1 MB Notification: Performance of Templates: time 0.002695/0.2973, allocations: 0.947 MB / 439.2 MB, free: 15.43 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.982631287013646]