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.00102/0.00102, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.002556, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001071/0.001071, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002476, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9974/0.9974, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08794/1.085, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.523e-06/1.523e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.258e-05, allocations: 9.906 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.001718/0.001731, allocations: 1.657 MB / 246.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.001938, allocations: 148.1 kB / 246.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.001998, allocations: 3.938 kB / 246.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.002029, allocations: 3.938 kB / 246.3 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.002089, allocations: 15.92 kB / 246.4 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.002222, allocations: 31.84 kB / 246.4 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.002306, allocations: 35.91 kB / 246.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.94e-05/0.002375, allocations: 15.98 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.002431, allocations: 19.92 kB / 246.5 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.716e-05/0.002468, allocations: 11.98 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.002487, allocations: 7.938 kB / 246.5 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.002495, allocations: 0 / 246.5 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.002529, allocations: 8 kB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.002553, allocations: 11.94 kB / 246.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.383e-05/0.002637, allocations: 31.84 kB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.002647, allocations: 0 / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002647, allocations: 0 / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.002658, allocations: 0 / 246.5 MB, free: 12.3 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.0003067/0.002965, allocations: 280.3 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.002994, allocations: 8.031 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.003019, allocations: 12.86 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.003223, allocations: 141.6 kB / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.00323, allocations: 384 / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-06/0.003238, allocations: 4.375 kB / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.003391, allocations: 122.2 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.003396, allocations: 192 / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.003402, allocations: 384 / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.003406, allocations: 384 / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.003424, allocations: 15.86 kB / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.003569, allocations: 145.2 kB / 247.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.00367, allocations: 53.11 kB / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.003689, allocations: 17.77 kB / 247.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.003704, allocations: 4 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.003721, allocations: 38.55 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.003722, allocations: 0 / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.181e-05/0.003814, allocations: 53.62 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.003852, allocations: 81.05 kB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.579e-05/0.003908, allocations: 130.7 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.003916, allocations: 25.7 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.003941, allocations: 80.14 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.003953, allocations: 7.953 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.003972, allocations: 13.72 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.004035, allocations: 326.8 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-06/0.004039, allocations: 4.125 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-06/0.004044, allocations: 0 / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.267e-05/0.004057, allocations: 8.859 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.004058, allocations: 0 / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.778e-05/0.004086, allocations: 29.7 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.004102, allocations: 11.59 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.004108, allocations: 3.984 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.004118, allocations: 0 / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.156e-05/0.004149, allocations: 11.88 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.004152, allocations: 8.031 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.004162, allocations: 4 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.004166, allocations: 0 / 248.1 MB, free: 10.5 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 4.26e-05/0.004208, allocations: 108.7 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.004238, allocations: 45.86 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.00426, allocations: 8.344 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.004262, allocations: 0 / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.004265, allocations: 11.92 kB / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.004267, allocations: 0 / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.377e-05/0.004341, allocations: 77.83 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004342, allocations: 0 / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.004366, allocations: 15.98 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.004386, allocations: 11.95 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.004387, allocations: 0 / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.004391, allocations: 4 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.004392, allocations: 0 / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.004394, allocations: 7.875 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.174e-05/0.004455, allocations: 132.4 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-06/0.004463, allocations: 0 / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.681e-05/0.00449, allocations: 4 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.004512, allocations: 7.984 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.004515, allocations: 4.031 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.813e-05/0.004533, allocations: 32.14 kB / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004533, allocations: 0 / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001067/0.00464, allocations: 4 kB / 248.6 MB, free: 9.977 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 5.992e-05/0.0047, allocations: 76.42 kB / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.792e-05/0.004747, allocations: 12.8 kB / 248.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.004752, allocations: 4 kB / 248.7 MB, free: 9.871 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.557e-06/0.004761, allocations: 8.844 kB / 248.7 MB, free: 9.859 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.004928, allocations: 31.73 kB / 248.7 MB, free: 9.828 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.005245, allocations: 159 kB / 248.9 MB, free: 9.645 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.00528, allocations: 63.34 kB / 249 MB, free: 9.562 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.51e-05/0.005296, allocations: 256 / 249 MB, free: 9.562 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.005337, allocations: 55.38 kB / 249 MB, free: 9.508 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.005338, allocations: 3.938 kB / 249 MB, free: 9.504 MB / 250.7 MB Notification: Performance of Templates: time 0.001861/0.007198, allocations: 0.5354 MB / 249.5 MB, free: 8.973 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5114203095436096]