Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001309/0.001309, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001548/0.001548, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8 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.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 43.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2494, allocations: 53.36 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002988/0.2524, allocations: 1.612 MB / 432.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009773/0.2533, allocations: 0.5493 MB / 433.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.2534, allocations: 7.938 kB / 433.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.347e-05/0.2535, allocations: 7.875 kB / 433.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.2536, allocations: 7.922 kB / 433.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.254, allocations: 55.83 kB / 433.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.2541, allocations: 51.83 kB / 433.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2542, allocations: 12.19 kB / 433.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.2543, allocations: 39.8 kB / 433.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.2544, allocations: 23.91 kB / 433.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2544, allocations: 4 kB / 433.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.33e-05/0.2545, allocations: 4 kB / 433.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.2545, allocations: 15.92 kB / 433.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.2546, allocations: 27.75 kB / 433.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2547, allocations: 59.17 kB / 433.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2547, allocations: 0 / 433.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2547, allocations: 0 / 433.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2547, allocations: 4 kB / 433.6 MB, free: 4.379 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005129/0.2552, allocations: 314.9 kB / 433.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2553, allocations: 8.031 kB / 433.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.2553, allocations: 30.75 kB / 434 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.2555, allocations: 20.88 kB / 434 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.2557, allocations: 146.8 kB / 434.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2557, allocations: 16.12 kB / 434.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.2558, allocations: 0 / 434.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.256, allocations: 109.9 kB / 434.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.256, allocations: 0 / 434.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.256, allocations: 4 kB / 434.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.256, allocations: 8 kB / 434.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.2561, allocations: 23.92 kB / 434.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.2565, allocations: 237.7 kB / 434.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2566, allocations: 71.78 kB / 434.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.859e-05/0.2567, allocations: 30.62 kB / 434.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.2567, allocations: 4 kB / 434.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2567, allocations: 42.44 kB / 434.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2567, allocations: 4 kB / 434.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002844/0.257, allocations: 85.52 kB / 434.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.2571, allocations: 102.8 kB / 434.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.2572, allocations: 153.7 kB / 435 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2572, allocations: 25.7 kB / 435 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.2573, allocations: 92.45 kB / 435.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.2573, allocations: 7.984 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.2574, allocations: 21.67 kB / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2575, allocations: 322.8 kB / 435.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.2575, allocations: 7.984 kB / 435.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-05/0.2576, allocations: 35.42 kB / 435.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.697e-05/0.2577, allocations: 51.36 kB / 435.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2577, allocations: 0 / 435.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001389/0.2578, allocations: 65.62 kB / 435.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2578, allocations: 8.125 kB / 435.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2578, allocations: 3.984 kB / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2579, allocations: 4 kB / 435.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.2579, allocations: 8 kB / 435.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2579, allocations: 7.938 kB / 435.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/0.258, allocations: 0 / 435.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.258, allocations: 4 kB / 435.7 MB, free: 2.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.296e-05/0.2581, allocations: 121.8 kB / 435.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-05/0.2582, allocations: 61.59 kB / 435.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.2582, allocations: 11.97 kB / 435.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2582, allocations: 0 / 435.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2582, allocations: 3.938 kB / 435.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2582, allocations: 0 / 435.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.2584, allocations: 148.6 kB / 436 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2584, allocations: 3.984 kB / 436 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.2585, allocations: 8.094 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.2585, allocations: 7.984 kB / 436 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.2585, allocations: 0 / 436 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2585, allocations: 64 / 436 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2585, allocations: 7.938 kB / 436 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.2587, allocations: 177.2 kB / 436.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.2587, allocations: 19.88 kB / 436.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.2588, allocations: 4 kB / 436.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.2588, allocations: 7.984 kB / 436.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.2589, allocations: 3.938 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2589, allocations: 4 kB / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.171e-05/0.259, allocations: 112.9 kB / 436.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.259, allocations: 7.875 kB / 436.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.2592, allocations: 8 kB / 436.4 MB, free: 1.281 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005024/0.2597, allocations: 0.7024 MB / 437.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.2598, allocations: 35.91 kB / 437.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2599, allocations: 0 / 437.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.2599, allocations: 8.188 kB / 437.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.2603, allocations: 42.83 kB / 437.1 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.2618, allocations: 1.411 MB / 438.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.2621, allocations: 0.6924 MB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.58e-05/0.2621, allocations: 4 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.2622, allocations: 15.44 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2622, allocations: 4 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.2905, allocations: 1.817 MB / 441.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.18, allocations: 16.03 kB / 441.1 MB, free: 12.52 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.694170532002317]