Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.0007744/0.0007744, allocations: 84 kB / 21.43 MB, free: 3.129 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.003094/0.003094, allocations: 149.4 kB / 24.68 MB, free: 9.422 MB / 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 0.8162/0.8162, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 319.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.169e-05, allocations: 9.594 kB / 319.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002042/0.002074, allocations: 1.559 MB / 321.3 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000617/0.00269, allocations: 454.7 kB / 321.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.002771, allocations: 3.938 kB / 321.7 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.908e-05/0.00282, allocations: 7.922 kB / 321.7 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.00297, allocations: 11.88 kB / 321.7 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.003216, allocations: 62.62 kB / 321.8 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.805e-05/0.003314, allocations: 39.86 kB / 321.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.003417, allocations: 15.92 kB / 321.8 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.003487, allocations: 31.91 kB / 321.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.003534, allocations: 15.92 kB / 321.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.003555, allocations: 4 kB / 321.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.003566, allocations: 4 kB / 321.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.003618, allocations: 11.98 kB / 321.9 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.003645, allocations: 7.938 kB / 321.9 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.003758, allocations: 59.73 kB / 322 MB, free: 3.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.00376, allocations: 4 kB / 322 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003761, allocations: 0 / 322 MB, free: 3.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.003767, allocations: 0 / 322 MB, free: 3.43 MB / 282.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.0003616/0.004128, allocations: 294 kB / 322.3 MB, free: 3.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.004166, allocations: 12.92 kB / 322.3 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.004193, allocations: 8.891 kB / 322.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.004363, allocations: 141.5 kB / 322.4 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.004371, allocations: 384 / 322.4 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.004383, allocations: 8.375 kB / 322.4 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.004594, allocations: 117.5 kB / 322.5 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004601, allocations: 4.172 kB / 322.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.00461, allocations: 384 / 322.6 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.004615, allocations: 7.938 kB / 322.6 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.318e-05/0.004659, allocations: 19.98 kB / 322.6 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.004884, allocations: 205.4 kB / 322.8 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.005021, allocations: 65.19 kB / 322.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.005061, allocations: 29.77 kB / 322.9 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.005078, allocations: 0 / 322.9 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.005097, allocations: 38.44 kB / 322.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.005098, allocations: 0 / 322.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001658/0.005263, allocations: 85.56 kB / 323 MB, free: 2.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.005303, allocations: 77.11 kB / 323.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.005386, allocations: 140.3 kB / 323.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.005396, allocations: 29.7 kB / 323.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.005441, allocations: 92.14 kB / 323.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.005457, allocations: 3.953 kB / 323.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.005483, allocations: 21.66 kB / 323.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.005574, allocations: 314.8 kB / 323.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.005592, allocations: 4 kB / 323.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.005607, allocations: 11.98 kB / 323.7 MB, free: 1.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.65e-05/0.005644, allocations: 20.84 kB / 323.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005646, allocations: 4.062 kB / 323.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.423e-05/0.0057, allocations: 57.52 kB / 323.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.00571, allocations: 4 kB / 323.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.005715, allocations: 4 kB / 323.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.005724, allocations: 0 / 323.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.288e-05/0.005757, allocations: 0 / 323.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.00576, allocations: 0 / 323.8 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.005781, allocations: 7.984 kB / 323.8 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.005788, allocations: 7.922 kB / 323.8 MB, free: 1.426 MB / 282.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 5.627e-05/0.005844, allocations: 117.9 kB / 323.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.005883, allocations: 53.58 kB / 323.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.005905, allocations: 12.34 kB / 324 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005906, allocations: 0 / 324 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.00591, allocations: 0 / 324 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005913, allocations: 7.984 kB / 324 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.57e-05/0.005999, allocations: 113.2 kB / 324.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006, allocations: 0 / 324.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.006022, allocations: 8 kB / 324.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006024, allocations: 0 / 324.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.00603, allocations: 15.92 kB / 324.1 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.006031, allocations: 4 kB / 324.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006031, allocations: 0 / 324.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.571e-05/0.006127, allocations: 164.3 kB / 324.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.006152, allocations: 19.89 kB / 324.3 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.006165, allocations: 7.922 kB / 324.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.998e-05/0.006195, allocations: 0 / 324.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.006223, allocations: 7.938 kB / 324.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.006226, allocations: 4 kB / 324.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.006272, allocations: 111.2 kB / 324.4 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006272, allocations: 4 kB / 324.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001373/0.006409, allocations: 4 kB / 324.4 MB, free: 0.7109 MB / 282.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 7.318e-05/0.006483, allocations: 95.53 kB / 324.5 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.00657, allocations: 19.98 kB / 324.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006571, allocations: 4 kB / 324.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.00659, allocations: 7.984 kB / 324.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.006837, allocations: 34.38 kB / 324.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.007099, allocations: 191.5 kB / 324.8 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.233e-05/0.007161, allocations: 71.33 kB / 324.8 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.007188, allocations: 12.5 kB / 324.8 MB, free: 228 kB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007189, allocations: 0 / 324.8 MB, free: 228 kB / 282.7 MB Notification: Performance of Templates: time 0.001739/0.008927, allocations: 0.7283 MB / 325.6 MB, free: 15.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: 3.9218638064339757]