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.0008039/0.0008039, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008673/0.0008673, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9087/0.9087, allocations: 177 MB / 204.1 MB, free: 5.762 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 4 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.68e-05, allocations: 2.984 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002167/0.002184, allocations: 1.756 MB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000772/0.002956, allocations: 0.5764 MB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.003059, allocations: 7.938 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.128e-05/0.003111, allocations: 7.875 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.003261, allocations: 19.8 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.003632, allocations: 106.9 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.00377, allocations: 91.7 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.003891, allocations: 25.61 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.004038, allocations: 71.69 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.004099, allocations: 39.88 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.004118, allocations: 4 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-05/0.004161, allocations: 12 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.004213, allocations: 19.92 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.004257, allocations: 31.91 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.004422, allocations: 119.6 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004423, allocations: 0 / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004424, allocations: 0 / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.004428, allocations: 0 / 327.4 MB, free: 12.99 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.0004349/0.004863, allocations: 353.7 kB / 327.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.00491, allocations: 15.98 kB / 327.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.004944, allocations: 46.73 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.574e-05/0.00504, allocations: 20.84 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.005241, allocations: 165.5 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.005266, allocations: 12.38 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.005281, allocations: 8.375 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.00563, allocations: 262.9 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.005638, allocations: 192 / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.005653, allocations: 12.12 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005658, allocations: 4 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.005776, allocations: 51.91 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.006097, allocations: 261.6 kB / 328.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.006304, allocations: 135.8 kB / 328.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.006422, allocations: 78.48 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.006444, allocations: 0 / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.006466, allocations: 38.56 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.006468, allocations: 3.984 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002701/0.006738, allocations: 177.8 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.006796, allocations: 114.8 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.181e-05/0.006888, allocations: 162.1 kB / 329.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.0069, allocations: 29.7 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.006939, allocations: 100.1 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.006956, allocations: 11.91 kB / 329.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.006987, allocations: 25.7 kB / 329.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.007061, allocations: 318.8 kB / 329.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.007092, allocations: 15.98 kB / 329.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.256e-05/0.007134, allocations: 52.41 kB / 329.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/0.007205, allocations: 64.22 kB / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007207, allocations: 0 / 329.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001039/0.007311, allocations: 109.5 kB / 330 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.007322, allocations: 4 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.007327, allocations: 4.078 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.007343, allocations: 0 / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.674e-05/0.00739, allocations: 4 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.007396, allocations: 7.984 kB / 330 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.007421, allocations: 7.984 kB / 330 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.007429, allocations: 7.938 kB / 330 MB, free: 10.08 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 0.0001983/0.007627, allocations: 125.8 kB / 330.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.00774, allocations: 126 kB / 330.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.007773, allocations: 20.78 kB / 330.3 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.007776, allocations: 4 kB / 330.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.007782, allocations: 3.984 kB / 330.3 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.007786, allocations: 0 / 330.3 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.007909, allocations: 156.7 kB / 330.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007911, allocations: 3.938 kB / 330.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.00797, allocations: 27.92 kB / 330.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007971, allocations: 0 / 330.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.007986, allocations: 11.92 kB / 330.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007987, allocations: 0 / 330.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.007988, allocations: 4 kB / 330.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.008166, allocations: 249 kB / 330.8 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.008209, allocations: 35.78 kB / 330.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.008226, allocations: 11.94 kB / 330.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.059e-05/0.008267, allocations: 0 / 330.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.008298, allocations: 4 kB / 330.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.008307, allocations: 12 kB / 330.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.105e-05/0.008358, allocations: 112.1 kB / 330.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008358, allocations: 0 / 330.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.008517, allocations: 16 kB / 330.9 MB, free: 9.102 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 0.0004737/0.00899, allocations: 0.8534 MB / 331.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.009142, allocations: 67.91 kB / 331.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.009144, allocations: 0 / 331.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/0.009164, allocations: 8 kB / 331.9 MB, free: 8.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.00948, allocations: 77.14 kB / 331.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000979/0.01046, allocations: 1.598 MB / 333.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.435e-05/0.01052, allocations: 101.8 kB / 333.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.773e-05/0.01055, allocations: 16.91 kB / 333.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.01061, allocations: 40.48 kB / 333.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.01061, allocations: 0 / 333.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.02545, allocations: 3.36 MB / 337.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.481/6.507, allocations: 19.72 kB / 337.1 MB, free: 2.898 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78998e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 52.5] 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: 8.1837951336056]