Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001346/0.001346, allocations: 108.6 kB / 21.18 MB, free: 0.7734 MB / 14.72 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.001427/0.001427, allocations: 189.4 kB / 24.47 MB, free: 4.18 MB / 14.72 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 1.397/1.397, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 55.91 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2684, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002735/0.2711, allocations: 1.608 MB / 425.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008309/0.272, allocations: 0.4987 MB / 426 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.272, allocations: 7.938 kB / 426 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.2721, allocations: 7.938 kB / 426 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.2722, allocations: 11.86 kB / 426 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.2725, allocations: 59.81 kB / 426.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2726, allocations: 47.8 kB / 426.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.2727, allocations: 16.16 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.789e-05/0.2727, allocations: 15.94 kB / 426.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.2728, allocations: 23.86 kB / 426.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2728, allocations: 4 kB / 426.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.2728, allocations: 4 kB / 426.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.2729, allocations: 19.92 kB / 426.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.2729, allocations: 23.8 kB / 426.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.273, allocations: 60.95 kB / 426.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.273, allocations: 0 / 426.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.273, allocations: 0 / 426.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.273, allocations: 3.938 kB / 426.3 MB, free: 12.26 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004468/0.2735, allocations: 310 kB / 426.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2735, allocations: 8.031 kB / 426.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.2735, allocations: 8.891 kB / 426.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.2738, allocations: 149.2 kB / 426.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2738, allocations: 384 / 426.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.2738, allocations: 4.375 kB / 426.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.2741, allocations: 118 kB / 426.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2741, allocations: 4 kB / 426.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2741, allocations: 4 kB / 426.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2741, allocations: 3.984 kB / 426.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.2742, allocations: 23.92 kB / 426.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.2745, allocations: 241.6 kB / 427.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.2746, allocations: 75.78 kB / 427.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.2746, allocations: 30.58 kB / 427.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.2747, allocations: 7.984 kB / 427.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.2747, allocations: 38.55 kB / 427.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2747, allocations: 0 / 427.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002459/0.2749, allocations: 85.5 kB / 427.4 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.275, allocations: 110.8 kB / 427.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2752, allocations: 146.2 kB / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.2752, allocations: 25.7 kB / 427.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.2752, allocations: 92.14 kB / 427.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.2752, allocations: 3.953 kB / 427.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.2753, allocations: 17.72 kB / 427.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2754, allocations: 318.8 kB / 428.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.2754, allocations: 12 kB / 428.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-05/0.2755, allocations: 35.42 kB / 428.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.213e-05/0.2756, allocations: 47.36 kB / 428.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2756, allocations: 0 / 428.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001344/0.2757, allocations: 73.56 kB / 428.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2757, allocations: 8 kB / 428.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2757, allocations: 0 / 428.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2757, allocations: 0 / 428.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.2758, allocations: 15.92 kB / 428.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2758, allocations: 0 / 428.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/0.2759, allocations: 7.938 kB / 428.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.2759, allocations: 4 kB / 428.3 MB, free: 10.01 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 8.567e-05/0.276, allocations: 121.9 kB / 428.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.276, allocations: 53.58 kB / 428.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.2761, allocations: 11.97 kB / 428.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2761, allocations: 8.078 kB / 428.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2761, allocations: 3.984 kB / 428.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2761, allocations: 0 / 428.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.2763, allocations: 148.7 kB / 428.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2763, allocations: 0 / 428.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.2763, allocations: 11.98 kB / 428.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.2763, allocations: 4.062 kB / 428.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2763, allocations: 8 kB / 428.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2763, allocations: 0 / 428.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2763, allocations: 0 / 428.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.2765, allocations: 177.1 kB / 428.8 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.2766, allocations: 23.94 kB / 428.8 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.2766, allocations: 0 / 428.8 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.2766, allocations: 11.88 kB / 428.8 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.2767, allocations: 0 / 428.8 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.2767, allocations: 0 / 428.8 MB, free: 9.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.919e-05/0.2768, allocations: 117.7 kB / 429 MB, free: 9.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2768, allocations: 0 / 429 MB, free: 9.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.277, allocations: 4 kB / 429 MB, free: 9.238 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 (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 9.623e-05/0.2771, allocations: 99.25 kB / 429.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.2772, allocations: 39.91 kB / 429.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2772, allocations: 0 / 429.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.2772, allocations: 8 kB / 429.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.2776, allocations: 31.17 kB / 429.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.2779, allocations: 207 kB / 429.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.2782, allocations: 0.7 MB / 430 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.2782, allocations: 7.438 kB / 430.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2782, allocations: 0 / 430.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of Templates: time 0.002249/0.2805, allocations: 0.83 MB / 430.9 MB, free: 7.254 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.794096624944359]