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.0009642/0.0009642, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0008857/0.0008857, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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 1.042/1.042, allocations: 177 MB / 205.2 MB, free: 5.055 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 2.324e-06/2.324e-06, allocations: 3.938 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.999e-05, allocations: 5.125 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003354/0.003384, allocations: 1.678 MB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.004495, allocations: 0.5645 MB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.00459, allocations: 3.938 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.522e-05/0.004645, allocations: 11.92 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.0048, allocations: 3.938 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.005201, allocations: 75.61 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.00534, allocations: 51.78 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.005448, allocations: 16.17 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.005635, allocations: 31.91 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.0057, allocations: 15.97 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.005719, allocations: 4 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.273e-05/0.005792, allocations: 8 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.005845, allocations: 15.92 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.00587, allocations: 11.94 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.006033, allocations: 59.69 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.006037, allocations: 0 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.006038, allocations: 0 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006044, allocations: 0 / 276 MB, free: 14.45 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.0004452/0.00649, allocations: 276.6 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.006538, allocations: 15.97 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.006723, allocations: 16.92 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.006935, allocations: 146.2 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.006944, allocations: 4.375 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.006955, allocations: 4.375 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.007189, allocations: 118.9 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.007209, allocations: 3.938 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.007217, allocations: 0 / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.007223, allocations: 0 / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.00725, allocations: 15.98 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.007503, allocations: 154 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.007606, allocations: 63.72 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/0.00764, allocations: 22.69 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.007665, allocations: 4 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.007705, allocations: 38.5 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.517e-06/0.007708, allocations: 0 / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001871/0.007896, allocations: 57.55 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.007984, allocations: 107.2 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.008136, allocations: 143.8 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.008155, allocations: 25.7 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.008219, allocations: 92.11 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.008246, allocations: 7.891 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.008287, allocations: 9.719 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.008425, allocations: 318.8 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.008446, allocations: 0 / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/0.008461, allocations: 3.984 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.008498, allocations: 8.859 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.0085, allocations: 8 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.906e-05/0.008579, allocations: 41.58 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.008598, allocations: 4 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.008606, allocations: 3.984 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.008622, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.008707, allocations: 4 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.00871, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.008727, allocations: 0 / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.008737, allocations: 4 kB / 277.7 MB, free: 12.54 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 8.334e-05/0.00882, allocations: 112.7 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-05/0.008885, allocations: 53.59 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.008921, allocations: 11.95 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.008925, allocations: 4 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.008928, allocations: 0 / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.008934, allocations: 3.984 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.009054, allocations: 73.88 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.009057, allocations: 4 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.057e-05/0.009108, allocations: 4 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.009114, allocations: 7.938 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.009121, allocations: 4.047 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.009123, allocations: 4 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.009127, allocations: 3.938 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.009249, allocations: 145.3 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.009294, allocations: 15.91 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.009306, allocations: 3.938 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.009343, allocations: 0 / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.009379, allocations: 7.984 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.009385, allocations: 4 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.393e-05/0.009429, allocations: 36.2 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009429, allocations: 4.031 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001252/0.009554, allocations: 4 kB / 278.2 MB, free: 11.99 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.0001336/0.009687, allocations: 76.42 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.637e-05/0.009774, allocations: 20.78 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.00978, allocations: 4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.009793, allocations: 4.859 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.01013, allocations: 28.73 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.01077, allocations: 200.1 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.913e-05/0.01083, allocations: 59.34 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.649e-05/0.01087, allocations: 4 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.01094, allocations: 55.36 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of SimCode: time 1.793e-06/0.01094, allocations: 0 / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of Templates: time 0.003229/0.01417, allocations: 0.6659 MB / 279.3 MB, free: 10.83 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 -s gbode -gbm=radauIIA3 -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: 2.879514606669545]