Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.0009089/0.0009089, allocations: 78.19 kB / 21.42 MB, free: 3.074 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.0009149/0.0009149, allocations: 154 kB / 24.81 MB, free: 8.93 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.9464/0.9464, allocations: 173.4 MB / 201.5 MB, free: 8.293 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 268.4 MB, free: 9.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.034e-05, allocations: 5.125 kB / 268.4 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002329/0.002359, allocations: 1.598 MB / 270 MB, free: 8.137 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006898/0.003049, allocations: 456.6 kB / 270.5 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.003142, allocations: 3.938 kB / 270.5 MB, free: 7.684 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.116e-05/0.003193, allocations: 6.344 kB / 270.5 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.003333, allocations: 11.88 kB / 270.5 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.003556, allocations: 39.83 kB / 270.5 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.539e-05/0.003651, allocations: 39.84 kB / 270.6 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.003735, allocations: 7.984 kB / 270.6 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.003824, allocations: 27.92 kB / 270.6 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.003877, allocations: 12.83 kB / 270.6 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.003894, allocations: 0 / 270.6 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.003903, allocations: 4.531 kB / 270.6 MB, free: 7.539 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.003943, allocations: 11.98 kB / 270.6 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.003963, allocations: 16.52 kB / 270.7 MB, free: 7.512 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.38e-05/0.004057, allocations: 33.91 kB / 270.7 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.004061, allocations: 7.922 kB / 270.7 MB, free: 7.473 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004062, allocations: 0 / 270.7 MB, free: 7.473 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.004066, allocations: 0 / 270.7 MB, free: 7.473 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003435/0.004409, allocations: 392.4 kB / 271.1 MB, free: 7.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.00445, allocations: 12.02 kB / 271.1 MB, free: 7.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.00448, allocations: 14.23 kB / 271.1 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.004612, allocations: 132.4 kB / 271.2 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.004621, allocations: 4.969 kB / 271.2 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.004629, allocations: 6.344 kB / 271.2 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.004784, allocations: 109.5 kB / 271.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.004794, allocations: 192 / 271.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.004801, allocations: 384 / 271.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.004806, allocations: 5.719 kB / 271.4 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.004823, allocations: 15.91 kB / 271.4 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.005026, allocations: 240.1 kB / 271.6 MB, free: 6.449 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.414e-05/0.00507, allocations: 50.06 kB / 271.7 MB, free: 6.375 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.005088, allocations: 24.5 kB / 271.7 MB, free: 6.344 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.005106, allocations: 4 kB / 271.7 MB, free: 6.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.005128, allocations: 42.12 kB / 271.7 MB, free: 6.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.005129, allocations: 0 / 271.7 MB, free: 6.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001212/0.00525, allocations: 54.22 kB / 271.8 MB, free: 6.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.005286, allocations: 77.11 kB / 271.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.005382, allocations: 195.7 kB / 272 MB, free: 5.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.005391, allocations: 25.7 kB / 272.1 MB, free: 5.898 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.005442, allocations: 138.8 kB / 272.2 MB, free: 5.758 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.005457, allocations: 4 kB / 272.2 MB, free: 5.754 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.005486, allocations: 19.33 kB / 272.2 MB, free: 5.727 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002864/0.005772, allocations: 0.4884 MB / 272.7 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.005784, allocations: 0 / 272.7 MB, free: 5.227 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-06/0.005792, allocations: 3.938 kB / 272.7 MB, free: 5.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.005817, allocations: 15.81 kB / 272.7 MB, free: 5.203 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005819, allocations: 0 / 272.7 MB, free: 5.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.779e-05/0.005867, allocations: 33.7 kB / 272.8 MB, free: 5.164 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.005879, allocations: 8 kB / 272.8 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.005885, allocations: 3.938 kB / 272.8 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.005895, allocations: 0 / 272.8 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.00596, allocations: 7.984 kB / 272.8 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.005962, allocations: 0 / 272.8 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.005977, allocations: 0 / 272.8 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.005982, allocations: 0 / 272.8 MB, free: 5.145 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 6.313e-05/0.006045, allocations: 160.6 kB / 272.9 MB, free: 4.977 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.006085, allocations: 37.59 kB / 273 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.006117, allocations: 23.69 kB / 273 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.006119, allocations: 0 / 273 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.00612, allocations: 0 / 273 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006123, allocations: 3.938 kB / 273 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.505e-05/0.006218, allocations: 105.2 kB / 273.1 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.00622, allocations: 0 / 273.1 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.006248, allocations: 8 kB / 273.1 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.00625, allocations: 4 kB / 273.1 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.006255, allocations: 4.031 kB / 273.1 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006256, allocations: 0 / 273.1 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.006258, allocations: 3.938 kB / 273.1 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.006363, allocations: 203.5 kB / 273.3 MB, free: 4.535 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.006391, allocations: 15.92 kB / 273.3 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.0064, allocations: 0 / 273.3 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.006436, allocations: 4 kB / 273.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.006458, allocations: 3.938 kB / 273.4 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006461, allocations: 0 / 273.4 MB, free: 4.512 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.006509, allocations: 145.7 kB / 273.5 MB, free: 4.371 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006509, allocations: 4.031 kB / 273.5 MB, free: 4.367 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.006651, allocations: 4 kB / 273.5 MB, free: 4.363 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 (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 7.663e-05/0.006728, allocations: 95.25 kB / 273.6 MB, free: 4.262 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.646e-05/0.006784, allocations: 15.62 kB / 273.6 MB, free: 4.242 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006785, allocations: 0 / 273.6 MB, free: 4.242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.006797, allocations: 11.69 kB / 273.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.007015, allocations: 16.3 kB / 273.6 MB, free: 4.207 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.0074, allocations: 169.5 kB / 273.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.007438, allocations: 67.22 kB / 273.9 MB, free: 3.926 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.192e-05/0.00746, allocations: 4 kB / 273.9 MB, free: 3.922 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.00751, allocations: 70.2 kB / 273.9 MB, free: 3.852 MB / 250.7 MB Notification: Performance of SimCode: time 8.72e-07/0.007511, allocations: 0 / 273.9 MB, free: 3.852 MB / 250.7 MB Notification: Performance of Templates: time 0.002366/0.009877, allocations: 0.5476 MB / 274.5 MB, free: 3.316 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.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.5459127509966493]