Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001508/0.001508, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001896/0.001896, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 47.92 kB / 379 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2882, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003294/0.2915, allocations: 1.59 MB / 434 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2926, allocations: 0.5491 MB / 434.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.2927, allocations: 4 kB / 434.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.291e-05/0.2927, allocations: 3.938 kB / 434.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.2929, allocations: 15.86 kB / 434.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.2932, allocations: 51.83 kB / 434.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.2933, allocations: 39.92 kB / 434.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2935, allocations: 7.984 kB / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.2936, allocations: 27.86 kB / 434.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.2937, allocations: 19.86 kB / 434.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.2937, allocations: 4 kB / 434.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.224e-05/0.2937, allocations: 8 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.2938, allocations: 11.92 kB / 434.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.2938, allocations: 19.88 kB / 434.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.294, allocations: 61.92 kB / 434.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.294, allocations: 0 / 434.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.294, allocations: 4 kB / 434.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.294, allocations: 0 / 434.8 MB, free: 4.504 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000519/0.2945, allocations: 294.1 kB / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2945, allocations: 8.031 kB / 435.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.2947, allocations: 16.88 kB / 435.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.295, allocations: 142.3 kB / 435.3 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.295, allocations: 384 / 435.3 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.2951, allocations: 8.375 kB / 435.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.2953, allocations: 97.34 kB / 435.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2953, allocations: 0 / 435.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2954, allocations: 0 / 435.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2954, allocations: 4 kB / 435.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.857e-05/0.2954, allocations: 15.98 kB / 435.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.2958, allocations: 240.7 kB / 435.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.348e-05/0.2959, allocations: 41.2 kB / 435.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.2959, allocations: 21.72 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.296, allocations: 4 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.296, allocations: 42.48 kB / 435.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.296, allocations: 0 / 435.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002463/0.2962, allocations: 65.58 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.2963, allocations: 85.09 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.2965, allocations: 138.4 kB / 436 MB, free: 3.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2965, allocations: 25.7 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.2965, allocations: 88.14 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.2966, allocations: 0 / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.2966, allocations: 25.66 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2968, allocations: 314.8 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.2968, allocations: 11.98 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.2969, allocations: 21.72 kB / 436.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.2969, allocations: 33.58 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2969, allocations: 0 / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.2971, allocations: 57.67 kB / 436.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2971, allocations: 4 kB / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2971, allocations: 4.125 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2971, allocations: 0 / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.2972, allocations: 8 kB / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.2972, allocations: 7.938 kB / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.2972, allocations: 0 / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2972, allocations: 0 / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.000102/0.2973, allocations: 125.8 kB / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.2974, allocations: 33.66 kB / 436.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.2974, allocations: 19.78 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2974, allocations: 4 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.2974, allocations: 4 kB / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2974, allocations: 0 / 436.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2976, allocations: 144.7 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2976, allocations: 0 / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.2977, allocations: 4 kB / 436.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.2977, allocations: 4 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2977, allocations: 0 / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2977, allocations: 0 / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2977, allocations: 7.875 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.2979, allocations: 164.3 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.2979, allocations: 15.94 kB / 437.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.2979, allocations: 4 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/0.298, allocations: 0 / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.298, allocations: 0 / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.298, allocations: 4.031 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.354e-05/0.2981, allocations: 113.7 kB / 437.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2981, allocations: 0 / 437.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.2984, allocations: 8 kB / 437.2 MB, free: 1.766 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 (2): * Single equations (assignments): 2 * 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.0001118/0.2985, allocations: 99.19 kB / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.2986, allocations: 23.92 kB / 437.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2986, allocations: 0 / 437.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.2986, allocations: 12.11 kB / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.299, allocations: 23.89 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.2994, allocations: 185.4 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.2998, allocations: 0.6807 MB / 438.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.2998, allocations: 15.42 kB / 438.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2998, allocations: 160 / 438.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of Templates: time 0.002459/0.3023, allocations: 0.7118 MB / 439 MB, free: 15.95 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.244671500055119]