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.001532/0.001532, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001599/0.001599, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.484/1.484, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.923e-06/1.923e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.328e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003993/0.004027, allocations: 1.764 MB / 274 MB, free: 16 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.005684, allocations: 0.5763 MB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.005829, allocations: 7.938 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.703e-05/0.005906, allocations: 7.875 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.0061, allocations: 19.78 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.006667, allocations: 99.64 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.006889, allocations: 95.69 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.007035, allocations: 25.56 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.007277, allocations: 55.88 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.684e-05/0.007374, allocations: 35.89 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.007405, allocations: 8 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-05/0.007475, allocations: 19.92 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.007551, allocations: 31.84 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.007619, allocations: 27.92 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.007898, allocations: 111.6 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.007901, allocations: 0 / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007903, allocations: 4 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.00791, allocations: 0 / 275.1 MB, free: 14.89 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.0007176/0.008628, allocations: 345.8 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.008677, allocations: 19.98 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.008894, allocations: 32.83 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.009312, allocations: 177.3 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.00935, allocations: 12.38 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.009377, allocations: 4.375 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.01002, allocations: 264.5 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.01003, allocations: 192 / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.01004, allocations: 8.312 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01005, allocations: 3.938 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.01046, allocations: 51.97 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.01099, allocations: 238.1 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.01133, allocations: 123.9 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.0115, allocations: 70.66 kB / 276.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.01153, allocations: 7.984 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.01158, allocations: 46.44 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.01158, allocations: 0 / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005225/0.0121, allocations: 185.6 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.01222, allocations: 114.8 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.0124, allocations: 158.9 kB / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.01243, allocations: 25.7 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.01252, allocations: 96.12 kB / 277 MB, free: 12.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.01255, allocations: 11.91 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.01261, allocations: 25.7 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.0128, allocations: 314.8 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.01286, allocations: 19.98 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.01295, allocations: 48.41 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.0131, allocations: 72.16 kB / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.0131, allocations: 0 / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002225/0.01333, allocations: 97.69 kB / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.01335, allocations: 15.97 kB / 277.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.01336, allocations: 0 / 277.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.01338, allocations: 7.922 kB / 277.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.01347, allocations: 15.92 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.01347, allocations: 0 / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.01353, allocations: 4 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01354, allocations: 4 kB / 277.7 MB, free: 12.07 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 0.0001428/0.01368, allocations: 125.8 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.01392, allocations: 133.4 kB / 277.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.01399, allocations: 20.78 kB / 277.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.01399, allocations: 4 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.014, allocations: 0 / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.01401, allocations: 3.984 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.01421, allocations: 133.2 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01421, allocations: 0 / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.01433, allocations: 27.98 kB / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01433, allocations: 0 / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.01436, allocations: 7.938 kB / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01436, allocations: 400 / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01436, allocations: 0 / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.01475, allocations: 257 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.01481, allocations: 31.86 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.01485, allocations: 11.94 kB / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.76e-05/0.01494, allocations: 0 / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.01499, allocations: 4 kB / 278.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.01502, allocations: 15.98 kB / 278.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.01514, allocations: 115.4 kB / 278.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01514, allocations: 0 / 278.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000264/0.0154, allocations: 20 kB / 278.5 MB, free: 11.11 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.0001706/0.01557, allocations: 111.2 kB / 278.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.01581, allocations: 63.91 kB / 278.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01582, allocations: 0 / 278.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/0.01587, allocations: 11.98 kB / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.0164, allocations: 82.94 kB / 278.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.01704, allocations: 278.7 kB / 279.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.01718, allocations: 109.8 kB / 279.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.193e-05/0.01722, allocations: 4.984 kB / 279.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.01728, allocations: 20.48 kB / 279.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01728, allocations: 3.938 kB / 279.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Templates: time 0.004936/0.02222, allocations: 1.221 MB / 280.4 MB, free: 9.172 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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: 4.518925846088678]