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.001844/0.001844, allocations: 89.3 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002143/0.002143, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.523/1.523, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 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 3.306e-06/3.306e-06, allocations: 1.469 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.225e-05, allocations: 5.234 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003052/0.003085, allocations: 1.748 MB / 326.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.004404, allocations: 0.5754 MB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.004509, allocations: 7.625 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.432e-05/0.004573, allocations: 13.27 kB / 327.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.004719, allocations: 12.39 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.0052, allocations: 117 kB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.005371, allocations: 92.67 kB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.00549, allocations: 25.2 kB / 327.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.00567, allocations: 60.25 kB / 327.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.005751, allocations: 28.14 kB / 327.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.005777, allocations: 10.69 kB / 327.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.14e-05/0.005828, allocations: 13.94 kB / 327.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.005907, allocations: 28.53 kB / 327.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.005962, allocations: 27.95 kB / 327.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.006205, allocations: 115.6 kB / 327.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.006208, allocations: 0 / 327.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006209, allocations: 1.094 kB / 327.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.006214, allocations: 0 / 327.9 MB, free: 14.64 MB / 302.1 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.0006155/0.006829, allocations: 356.8 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.006866, allocations: 17.58 kB / 328.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.007029, allocations: 24.16 kB / 328.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.007349, allocations: 167.5 kB / 328.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.007377, allocations: 10.44 kB / 328.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.007397, allocations: 13 kB / 328.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.00795, allocations: 272.5 kB / 328.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.007965, allocations: 4.781 kB / 328.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.007979, allocations: 1.531 kB / 328.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.007987, allocations: 6.156 kB / 328.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.008148, allocations: 51.67 kB / 328.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.008518, allocations: 238.9 kB / 329 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.008785, allocations: 126.5 kB / 329.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.008925, allocations: 65.56 kB / 329.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.008956, allocations: 3.234 kB / 329.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.009009, allocations: 46.23 kB / 329.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.009011, allocations: 0 / 329.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004942/0.009505, allocations: 171.2 kB / 329.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.009639, allocations: 121.5 kB / 329.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.009832, allocations: 159.8 kB / 329.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.009859, allocations: 30.88 kB / 329.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.009943, allocations: 97.98 kB / 329.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.009986, allocations: 11.62 kB / 329.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.01004, allocations: 25.56 kB / 329.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.01023, allocations: 320.6 kB / 330.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.0103, allocations: 16.89 kB / 330.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.8e-05/0.01038, allocations: 46.86 kB / 330.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.01053, allocations: 73.86 kB / 330.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01054, allocations: 4.969 kB / 330.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002253/0.01076, allocations: 93.58 kB / 330.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.01079, allocations: 13.91 kB / 330.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.0108, allocations: 4.953 kB / 330.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01081, allocations: 2.734 kB / 330.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.01091, allocations: 14.56 kB / 330.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01091, allocations: 1.875 kB / 330.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.01096, allocations: 3.672 kB / 330.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.01099, allocations: 7.922 kB / 330.5 MB, free: 12.54 MB / 302.1 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.0001431/0.01113, allocations: 133 kB / 330.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.01136, allocations: 117.5 kB / 330.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.01141, allocations: 26.64 kB / 330.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01142, allocations: 3.25 kB / 330.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.01143, allocations: 1.812 kB / 330.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.01143, allocations: 1.734 kB / 330.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.01163, allocations: 130.8 kB / 330.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01164, allocations: 5 kB / 330.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.01176, allocations: 23.16 kB / 330.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01177, allocations: 2.062 kB / 330.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.01179, allocations: 11.41 kB / 330.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.0118, allocations: 5.594 kB / 330.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.0118, allocations: 1.031 kB / 330.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.0122, allocations: 247.9 kB / 331.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.01227, allocations: 26.19 kB / 331.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.0123, allocations: 10.81 kB / 331.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.01239, allocations: 8.828 kB / 331.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.01242, allocations: 1.656 kB / 331.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.01244, allocations: 5.234 kB / 331.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.01256, allocations: 116.6 kB / 331.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01256, allocations: 1.188 kB / 331.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.01282, allocations: 12.78 kB / 331.3 MB, free: 11.88 MB / 302.1 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.0001417/0.01296, allocations: 108.5 kB / 331.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.01322, allocations: 70 kB / 331.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01322, allocations: 0 / 331.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.01326, allocations: 7.797 kB / 331.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.01379, allocations: 81.98 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/0.01438, allocations: 276.3 kB / 331.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.01452, allocations: 107.4 kB / 332 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.345e-05/0.01456, allocations: 7.703 kB / 332 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.01461, allocations: 15.41 kB / 332 MB, free: 11.43 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01461, allocations: 0 / 332 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Templates: time 0.004721/0.01934, allocations: 1.203 MB / 333.2 MB, free: 10.88 MB / 302.1 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.425910923629999]