Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001102/0.001102, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001049/0.001049, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.076/1.076, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.139e-05, allocations: 2.312 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002386/0.002417, allocations: 1.641 MB / 274.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.003283, allocations: 0.553 MB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.003375, allocations: 7.938 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.715e-05/0.003432, allocations: 3.938 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.003622, allocations: 11.88 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.003962, allocations: 67.73 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.00408, allocations: 51.78 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.004203, allocations: 12.17 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.004347, allocations: 39.84 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.004405, allocations: 11.92 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.004427, allocations: 4 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.608e-05/0.004483, allocations: 11.98 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.004542, allocations: 15.92 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.00457, allocations: 8 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.004722, allocations: 55.7 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004726, allocations: 0 / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.004728, allocations: 4 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.004733, allocations: 0 / 275.5 MB, free: 14.97 MB / 266.7 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.0004668/0.0052, allocations: 404.3 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.005249, allocations: 12.03 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.005393, allocations: 12.89 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.005608, allocations: 156.9 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.00562, allocations: 8.375 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.005634, allocations: 4.375 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.005914, allocations: 137 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.005925, allocations: 0 / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.005936, allocations: 0 / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.005945, allocations: 0 / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.911e-05/0.005974, allocations: 11.92 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.006284, allocations: 279.2 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.671e-05/0.00637, allocations: 93.12 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.006409, allocations: 39.17 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.006443, allocations: 4 kB / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.006468, allocations: 41.33 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.006469, allocations: 3.938 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001734/0.006642, allocations: 61.58 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.006697, allocations: 107.2 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.006803, allocations: 209.2 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.006813, allocations: 25.7 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.006866, allocations: 138.8 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.006882, allocations: 0 / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.006913, allocations: 27.33 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.007043, allocations: 0.4883 MB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.007054, allocations: 4 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.007061, allocations: 0 / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.007089, allocations: 15.69 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007092, allocations: 0 / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.735e-05/0.007139, allocations: 37.75 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.007156, allocations: 8 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.007162, allocations: 0 / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.007181, allocations: 3.938 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.007258, allocations: 0 / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.007266, allocations: 4 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.007281, allocations: 0 / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.007288, allocations: 0 / 277.8 MB, free: 12.39 MB / 266.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 0.0002121/0.0075, allocations: 156.5 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.007551, allocations: 61.61 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.007587, allocations: 15.95 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.00759, allocations: 0 / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.007594, allocations: 0 / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.007599, allocations: 3.984 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.007712, allocations: 136.5 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007714, allocations: 0 / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.007748, allocations: 11.98 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.00775, allocations: 0 / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.007759, allocations: 4 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.00776, allocations: 4.062 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007761, allocations: 0 / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.007886, allocations: 223.1 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.007916, allocations: 23.92 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.007927, allocations: 3.938 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.007958, allocations: 4 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.007992, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.007996, allocations: 3.984 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.582e-05/0.008052, allocations: 147.2 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008052, allocations: 0 / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000137/0.008189, allocations: 4 kB / 278.6 MB, free: 11.53 MB / 266.7 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 6.899e-05/0.008258, allocations: 99.25 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.773e-05/0.008345, allocations: 27.61 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.008347, allocations: 0 / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.00836, allocations: 7.688 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.008622, allocations: 32.8 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.0091, allocations: 192.7 kB / 278.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.009143, allocations: 59.34 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.294e-05/0.009166, allocations: 4 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.009199, allocations: 12.48 kB / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009199, allocations: 0 / 279 MB, free: 11.02 MB / 266.7 MB Notification: Performance of Templates: time 0.002505/0.0117, allocations: 0.6321 MB / 279.6 MB, free: 10.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.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: 3.0865228539332747]