Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9717/0.9717, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.58e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002556/0.002592, allocations: 1.649 MB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008927/0.003484, allocations: 0.5491 MB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.003596, allocations: 8 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.669e-05/0.003652, allocations: 7.875 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.003811, allocations: 23.84 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.004152, allocations: 55.75 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.004275, allocations: 55.78 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.004399, allocations: 8.172 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.004557, allocations: 31.91 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.004609, allocations: 19.92 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.00463, allocations: 4 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-05/0.004674, allocations: 8 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.004723, allocations: 15.92 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.004752, allocations: 15.98 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.004921, allocations: 51.64 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.004925, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004926, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.004933, allocations: 4 kB / 275.4 MB, free: 14.93 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.0004737/0.005406, allocations: 404.3 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.005451, allocations: 11.98 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.005593, allocations: 20.89 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.005808, allocations: 157 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.005818, allocations: 384 / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.005831, allocations: 4.375 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.006216, allocations: 137 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.006226, allocations: 0 / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.006238, allocations: 4 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.006248, allocations: 7.984 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.006274, allocations: 7.984 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.006618, allocations: 287 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.693e-05/0.006705, allocations: 85.12 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.006745, allocations: 35.17 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.006768, allocations: 4 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.006794, allocations: 37.39 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.006795, allocations: 0 / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002039/0.006999, allocations: 73.52 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.007059, allocations: 102.8 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.007178, allocations: 201.3 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.007191, allocations: 25.7 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.007252, allocations: 138.9 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.007269, allocations: 3.938 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.007308, allocations: 27.31 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.007438, allocations: 0.4883 MB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.007455, allocations: 4.375 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-06/0.007464, allocations: 4 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.007496, allocations: 11.62 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.007499, allocations: 4 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.083e-05/0.00756, allocations: 33.69 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.007576, allocations: 8 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007581, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.007599, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.007678, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.007686, allocations: 4 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.007701, allocations: 4.094 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.007708, allocations: 0 / 277.7 MB, free: 12.35 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 7.545e-05/0.007784, allocations: 164.5 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.007836, allocations: 49.59 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.007874, allocations: 15.95 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.007876, allocations: 0 / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.007881, allocations: 0 / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.007885, allocations: 0 / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.007998, allocations: 140.5 kB / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008, allocations: 0 / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.008041, allocations: 16.05 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008043, allocations: 0 / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.008052, allocations: 7.938 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.008055, allocations: 3.938 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008055, allocations: 0 / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.008176, allocations: 223.2 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.008212, allocations: 15.94 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.008224, allocations: 4 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.151e-05/0.008256, allocations: 0 / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.008293, allocations: 7.984 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008989/0.009192, allocations: 4 kB / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.009315, allocations: 143.2 kB / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009315, allocations: 0 / 278.5 MB, free: 11.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000163/0.009478, allocations: 8 kB / 278.5 MB, free: 11.48 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 0.0001223/0.009601, allocations: 103.2 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.009715, allocations: 11.69 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.009718, allocations: 4 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.009733, allocations: 7.688 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.01005, allocations: 33.55 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.01064, allocations: 188.4 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.33e-05/0.01069, allocations: 59.34 kB / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.673e-05/0.01072, allocations: 7.984 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.01075, allocations: 8.5 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01075, allocations: 0 / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of Templates: time 0.002495/0.01325, allocations: 0.6452 MB / 279.6 MB, free: 10.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.089808647055179]