Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.0009263/0.0009263, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009555/0.0009555, allocations: 165.3 kB / 24.82 MB, free: 9.301 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.094/1.094, allocations: 177 MB / 205.1 MB, free: 5.477 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.346e-06/3.346e-06, allocations: 4 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.934e-05, allocations: 6.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002805/0.002835, allocations: 1.794 MB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003981, allocations: 0.5957 MB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.004103, allocations: 7.938 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.721e-05/0.00416, allocations: 7.875 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.00432, allocations: 15.86 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.004706, allocations: 103.6 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.004854, allocations: 95.7 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.004976, allocations: 21.61 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.005163, allocations: 63.81 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.005243, allocations: 39.88 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.005268, allocations: 8 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.37e-05/0.005321, allocations: 8 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.005378, allocations: 23.92 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.00542, allocations: 35.84 kB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.005593, allocations: 79.66 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.005597, allocations: 3.938 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.005599, allocations: 0 / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.005605, allocations: 0 / 276.2 MB, free: 14.29 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005034/0.006108, allocations: 464 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.006152, allocations: 11.98 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.006293, allocations: 28.83 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.006494, allocations: 180.2 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.006515, allocations: 8.375 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.006529, allocations: 12.38 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.006843, allocations: 234.7 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.006851, allocations: 192 / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.006864, allocations: 12.31 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006872, allocations: 7.938 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.073e-05/0.006912, allocations: 23.92 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.007193, allocations: 275.6 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.007358, allocations: 125.3 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.007422, allocations: 59.3 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.007455, allocations: 11.97 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.007488, allocations: 37.39 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.00749, allocations: 0 / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002823/0.007772, allocations: 137.4 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.007853, allocations: 114.8 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.007975, allocations: 213.7 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.007991, allocations: 25.7 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.008061, allocations: 142.9 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.00809, allocations: 15.89 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.00813, allocations: 27.36 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.008296, allocations: 0.4923 MB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.008313, allocations: 4 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.008363, allocations: 50.42 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.326e-05/0.008436, allocations: 66.48 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.008439, allocations: 0 / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001236/0.008563, allocations: 85.5 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.008583, allocations: 4 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.008591, allocations: 8.094 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.008605, allocations: 4 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.008679, allocations: 7.938 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.008688, allocations: 4 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.008713, allocations: 3.984 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.00872, allocations: 4 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.352e-05/0.008814, allocations: 163.8 kB / 279.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.008922, allocations: 102.4 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.008962, allocations: 20.72 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.008968, allocations: 4 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.008971, allocations: 4 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.008975, allocations: 0 / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.009104, allocations: 137 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.009107, allocations: 4 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.009173, allocations: 19.98 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.009177, allocations: 4 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.009185, allocations: 4 kB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.009188, allocations: 4.078 kB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.009192, allocations: 7.922 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.009325, allocations: 211.2 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.009374, allocations: 27.92 kB / 279.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.009404, allocations: 8 kB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.009478, allocations: 4 kB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.009514, allocations: 7.922 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.009526, allocations: 8 kB / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.695e-05/0.009613, allocations: 151.1 kB / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009613, allocations: 0 / 280 MB, free: 10.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.009867, allocations: 12 kB / 280 MB, free: 10.17 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001503/0.01002, allocations: 103.2 kB / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.01016, allocations: 59.59 kB / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01017, allocations: 0 / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.01019, allocations: 7.688 kB / 280.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.01055, allocations: 63.81 kB / 280.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.01112, allocations: 273.7 kB / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.319e-05/0.01117, allocations: 75.33 kB / 280.5 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.01121, allocations: 13.34 kB / 280.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.01129, allocations: 90.19 kB / 280.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01129, allocations: 0 / 280.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of Templates: time 0.003251/0.01454, allocations: 1.294 MB / 281.9 MB, free: 8.152 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.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.765330002643168]