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.001614/0.001614, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002146/0.002146, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.424/1.424, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.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: "" <> 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 0.001903/0.001903, allocations: 71.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2558, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003248/0.2591, allocations: 1.776 MB / 433 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2603, allocations: 0.6077 MB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2604, allocations: 3.938 kB / 433.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.629e-05/0.2604, allocations: 11.81 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.2606, allocations: 19.84 kB / 433.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.261, allocations: 111.6 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2611, allocations: 87.77 kB / 433.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2612, allocations: 21.64 kB / 433.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.2614, allocations: 59.77 kB / 433.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.2615, allocations: 43.72 kB / 433.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.2615, allocations: 11.98 kB / 433.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.445e-05/0.2615, allocations: 12 kB / 434 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.2616, allocations: 27.91 kB / 434 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.2616, allocations: 47.67 kB / 434 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.2618, allocations: 115.8 kB / 434.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2619, allocations: 4 kB / 434.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2619, allocations: 0 / 434.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2619, allocations: 3.938 kB / 434.2 MB, free: 3.723 MB / 334.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.0005314/0.2624, allocations: 349.8 kB / 434.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2624, allocations: 12.03 kB / 434.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.2625, allocations: 42.73 kB / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.2626, allocations: 20.84 kB / 434.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.2629, allocations: 174.8 kB / 434.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.2629, allocations: 8.375 kB / 434.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.2629, allocations: 12.38 kB / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.2634, allocations: 276.7 kB / 435 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2634, allocations: 3.984 kB / 435 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2635, allocations: 4 kB / 435 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2635, allocations: 0 / 435 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.2636, allocations: 51.92 kB / 435.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.264, allocations: 285.5 kB / 435.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.2642, allocations: 123.9 kB / 435.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2644, allocations: 70.59 kB / 435.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.2644, allocations: 0 / 435.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.2644, allocations: 42.5 kB / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.2644, allocations: 0 / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004087/0.2648, allocations: 173.7 kB / 435.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.2649, allocations: 123 kB / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.2651, allocations: 154.2 kB / 436 MB, free: 1.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.2651, allocations: 33.7 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.2652, allocations: 92.09 kB / 436.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.2652, allocations: 19.89 kB / 436.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.2653, allocations: 41.83 kB / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2654, allocations: 326.8 kB / 436.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.2655, allocations: 27.98 kB / 436.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.2656, allocations: 142.1 kB / 436.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.2658, allocations: 166.4 kB / 436.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2658, allocations: 0 / 436.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002847/0.2661, allocations: 181.2 kB / 437 MB, free: 492 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2661, allocations: 8.375 kB / 437.1 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2661, allocations: 4 kB / 437.1 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2662, allocations: 7.984 kB / 437.1 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.2663, allocations: 31.92 kB / 437.1 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.2663, allocations: 20.34 kB / 437.1 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.2664, allocations: 8 kB / 437.1 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.2664, allocations: 12 kB / 437.1 MB, free: 400 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (21): * Single equations (assignments): 21 * 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.000125/0.2665, allocations: 140.5 kB / 437.3 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.2667, allocations: 121.5 kB / 437.4 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.2667, allocations: 20.7 kB / 437.4 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2667, allocations: 0 / 437.4 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2668, allocations: 7.938 kB / 437.4 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2668, allocations: 0 / 437.4 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.267, allocations: 172.8 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.267, allocations: 4 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2671, allocations: 27.98 kB / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.2671, allocations: 4 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2671, allocations: 4 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2671, allocations: 0 / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.2671, allocations: 15.67 kB / 437.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.2674, allocations: 255.4 kB / 437.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.2675, allocations: 23.92 kB / 437.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.2675, allocations: 8 kB / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.2676, allocations: 3.984 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.2676, allocations: 7.938 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2676, allocations: 8 kB / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.809e-05/0.2677, allocations: 116.1 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2677, allocations: 0 / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.268, allocations: 27.95 kB / 438.1 MB, free: 15.37 MB / 350.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.000734/0.2687, allocations: 0.8388 MB / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.269, allocations: 107.8 kB / 439 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.269, allocations: 0 / 439 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.606e-05/0.269, allocations: 7.984 kB / 439 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2695, allocations: 91.64 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.2715, allocations: 1.867 MB / 441 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.2719, allocations: 0.7278 MB / 441.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.2719, allocations: 13.42 kB / 441.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.745e-05/0.272, allocations: 35.42 kB / 441.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.272, allocations: 0 / 441.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.3017, allocations: 2.974 MB / 444.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.93, allocations: 14.69 kB / 444.8 MB, free: 8.555 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/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: 13.307651612907648]