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.0006738/0.0006738, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004986/0.004986, allocations: 158.9 kB / 24.7 MB, free: 9.441 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 0.8942/0.8942, allocations: 177 MB / 204.9 MB, free: 5.742 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 1.323e-06/1.323e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.417e-05, allocations: 7.484 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002212/0.002236, allocations: 1.752 MB / 327.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008584/0.003094, allocations: 0.5686 MB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.00319, allocations: 7.938 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.804e-05/0.003238, allocations: 7.875 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.003385, allocations: 23.78 kB / 328.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.003776, allocations: 113.8 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.003909, allocations: 91.69 kB / 328.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.004017, allocations: 21.62 kB / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.004163, allocations: 59.88 kB / 328.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.00422, allocations: 31.89 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.004238, allocations: 4 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.284e-05/0.004281, allocations: 19.94 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.004333, allocations: 31.84 kB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.004371, allocations: 23.92 kB / 328.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.004542, allocations: 119.6 kB / 328.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004545, allocations: 0 / 328.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004545, allocations: 0 / 328.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.00455, allocations: 0 / 328.7 MB, free: 12.48 MB / 298.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.0004314/0.004982, allocations: 349.8 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.005015, allocations: 11.98 kB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.005123, allocations: 28.83 kB / 329 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.00535, allocations: 181.4 kB / 329.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.005374, allocations: 8.375 kB / 329.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.005387, allocations: 8.375 kB / 329.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.005747, allocations: 270.8 kB / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005755, allocations: 192 / 329.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.005767, allocations: 8.375 kB / 329.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005773, allocations: 3.938 kB / 329.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.005862, allocations: 51.91 kB / 329.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.006125, allocations: 230.2 kB / 329.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.006284, allocations: 127.7 kB / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.006359, allocations: 74.73 kB / 330 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.006379, allocations: 4 kB / 330 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.0064, allocations: 42.5 kB / 330 MB, free: 10.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.006401, allocations: 0 / 330 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002723/0.006674, allocations: 177.5 kB / 330.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.006747, allocations: 114.8 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.006843, allocations: 158.2 kB / 330.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.006855, allocations: 29.7 kB / 330.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.006894, allocations: 100.2 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.006911, allocations: 15.91 kB / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.006946, allocations: 29.64 kB / 330.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.007022, allocations: 318.8 kB / 331 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.007051, allocations: 16 kB / 331 MB, free: 9.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.007089, allocations: 44.28 kB / 331 MB, free: 9.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.924e-05/0.007158, allocations: 76.2 kB / 331.1 MB, free: 9.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.00716, allocations: 3.938 kB / 331.1 MB, free: 9.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001014/0.007261, allocations: 97.5 kB / 331.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.007274, allocations: 7.938 kB / 331.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007279, allocations: 0 / 331.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.007291, allocations: 4 kB / 331.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.007339, allocations: 4 kB / 331.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.007344, allocations: 4.469 kB / 331.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.007371, allocations: 11.98 kB / 331.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.007377, allocations: 4 kB / 331.2 MB, free: 9.664 MB / 298.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 8.055e-05/0.007458, allocations: 129.8 kB / 331.3 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.007573, allocations: 122 kB / 331.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.007606, allocations: 24.77 kB / 331.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.007608, allocations: 0 / 331.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.007617, allocations: 4 kB / 331.5 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.00762, allocations: 0 / 331.5 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.007724, allocations: 133.3 kB / 331.6 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007726, allocations: 11.94 kB / 331.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.007782, allocations: 23.92 kB / 331.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007784, allocations: 4 kB / 331.7 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.007796, allocations: 11.94 kB / 331.7 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.007798, allocations: 4 kB / 331.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007799, allocations: 0 / 331.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.007971, allocations: 244 kB / 331.9 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.008013, allocations: 35.88 kB / 332 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.008029, allocations: 3.938 kB / 332 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.008072, allocations: 11.98 kB / 332 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.008097, allocations: 4 kB / 332 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.008103, allocations: 7.938 kB / 332 MB, free: 8.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.518e-05/0.008158, allocations: 119.2 kB / 332.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008158, allocations: 0 / 332.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.008316, allocations: 16 kB / 332.1 MB, free: 8.711 MB / 298.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 8.784e-05/0.008404, allocations: 95.25 kB / 332.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.008536, allocations: 72.14 kB / 332.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008538, allocations: 8.062 kB / 332.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/0.008562, allocations: 7.938 kB / 332.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.008856, allocations: 75.92 kB / 332.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.009199, allocations: 297 kB / 332.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.899e-05/0.009268, allocations: 101.8 kB / 332.8 MB, free: 8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.009304, allocations: 24.55 kB / 332.8 MB, free: 7.973 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009304, allocations: 0 / 332.8 MB, free: 7.973 MB / 298.7 MB Notification: Performance of Templates: time 0.002091/0.0114, allocations: 1.417 MB / 334.2 MB, free: 6.562 MB / 298.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.250577257014811]