Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 51.91 kB / 377.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2466, allocations: 53.36 MB / 431.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003094/0.2497, allocations: 1.781 MB / 432.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2508, allocations: 0.6193 MB / 433.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.885e-05/0.2509, allocations: 7.938 kB / 433.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.251, allocations: 7.875 kB / 433.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.2511, allocations: 19.78 kB / 433.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.2515, allocations: 99.75 kB / 433.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.2517, allocations: 95.7 kB / 433.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2518, allocations: 23.31 kB / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.2519, allocations: 47.78 kB / 433.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.252, allocations: 47.72 kB / 433.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.252, allocations: 12 kB / 433.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.157e-05/0.2521, allocations: 11.94 kB / 433.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.2521, allocations: 35.89 kB / 433.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.2522, allocations: 47.67 kB / 434 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.2524, allocations: 115.4 kB / 434.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2524, allocations: 0 / 434.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2524, allocations: 0 / 434.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2524, allocations: 0 / 434.1 MB, free: 3.91 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.0005563/0.253, allocations: 349.8 kB / 434.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.253, allocations: 12.03 kB / 434.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.2531, allocations: 46.73 kB / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.2532, allocations: 24.84 kB / 434.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.2535, allocations: 174.2 kB / 434.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.2535, allocations: 4.375 kB / 434.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.2535, allocations: 8.375 kB / 434.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.254, allocations: 279.3 kB / 435 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.254, allocations: 0 / 435 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2541, allocations: 0 / 435 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2541, allocations: 4 kB / 435 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.2542, allocations: 51.91 kB / 435 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.2546, allocations: 285.5 kB / 435.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.2548, allocations: 123.9 kB / 435.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.255, allocations: 70.8 kB / 435.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.255, allocations: 4 kB / 435.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.255, allocations: 34.56 kB / 435.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.255, allocations: 0 / 435.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004413/0.2555, allocations: 173.4 kB / 435.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.2556, allocations: 122.7 kB / 435.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.2557, allocations: 158.5 kB / 436 MB, free: 1.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.2558, allocations: 29.83 kB / 436 MB, free: 1.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.2558, allocations: 96.09 kB / 436.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.2559, allocations: 23.88 kB / 436.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.2559, allocations: 41.64 kB / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.2561, allocations: 330.8 kB / 436.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.2562, allocations: 19.98 kB / 436.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.2563, allocations: 134.6 kB / 436.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.2566, allocations: 170.3 kB / 436.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.2566, allocations: 4 kB / 436.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003118/0.2569, allocations: 185.7 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2569, allocations: 8 kB / 437 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2569, allocations: 8 kB / 437 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.2569, allocations: 7.984 kB / 437 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2571, allocations: 31.92 kB / 437.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2571, allocations: 7.938 kB / 437.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.2572, allocations: 12 kB / 437.1 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2572, allocations: 8 kB / 437.1 MB, free: 0.5781 MB / 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.0001293/0.2573, allocations: 141.7 kB / 437.2 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.2575, allocations: 113.5 kB / 437.3 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.2576, allocations: 28.7 kB / 437.4 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2576, allocations: 4 kB / 437.4 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.2576, allocations: 3.938 kB / 437.4 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2576, allocations: 0 / 437.4 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.2578, allocations: 176.6 kB / 437.5 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2578, allocations: 0 / 437.5 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2579, allocations: 27.92 kB / 437.6 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2579, allocations: 0 / 437.6 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.258, allocations: 8 kB / 437.6 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.258, allocations: 0 / 437.6 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.258, allocations: 7.922 kB / 437.6 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.2583, allocations: 259.9 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.2584, allocations: 23.89 kB / 437.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.2584, allocations: 8 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.2585, allocations: 11.98 kB / 437.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.2586, allocations: 7.938 kB / 437.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.2586, allocations: 4 kB / 437.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.843e-05/0.2587, allocations: 115.2 kB / 438 MB, free: 15.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2587, allocations: 4.094 kB / 438 MB, free: 15.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.259, allocations: 19.94 kB / 438 MB, free: 15.55 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.0008157/0.2598, allocations: 0.8428 MB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.26, allocations: 100.8 kB / 439 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.26, allocations: 4 kB / 439 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.2601, allocations: 16.11 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.2605, allocations: 89.78 kB / 439.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.2627, allocations: 1.867 MB / 440.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.263, allocations: 0.7239 MB / 441.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.895e-05/0.2631, allocations: 13.42 kB / 441.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.2631, allocations: 35.42 kB / 441.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2631, allocations: 0 / 441.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.2931, allocations: 3 MB / 444.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.35, allocations: 9.328 kB / 444.7 MB, free: 8.758 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78998e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.80893831490539]