Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001728/0.001728, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002297/0.002297, allocations: 210 kB / 23.73 MB, free: 4.387 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 51.92 kB / 377.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2537, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003442/0.2572, allocations: 1.596 MB / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2584, allocations: 0.5298 MB / 433.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.2585, allocations: 7.938 kB / 433.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.226e-05/0.2585, allocations: 7.938 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.2587, allocations: 11.86 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.2591, allocations: 67.8 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2592, allocations: 47.8 kB / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2594, allocations: 12.17 kB / 433.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.2595, allocations: 27.86 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.2596, allocations: 27.84 kB / 433.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2596, allocations: 4 kB / 433.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.503e-05/0.2596, allocations: 4 kB / 433.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.2597, allocations: 15.94 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.2597, allocations: 19.86 kB / 433.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.2599, allocations: 67.11 kB / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2599, allocations: 0 / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2599, allocations: 0 / 433.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.2599, allocations: 0 / 433.5 MB, free: 4.184 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.0005633/0.2605, allocations: 305 kB / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.2605, allocations: 8.031 kB / 433.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/0.2606, allocations: 38.75 kB / 433.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.2608, allocations: 16.88 kB / 433.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.2611, allocations: 161.2 kB / 434 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2611, allocations: 4.125 kB / 434.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2611, allocations: 4 kB / 434.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.2614, allocations: 113.9 kB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2615, allocations: 0 / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2615, allocations: 4 kB / 434.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2615, allocations: 0 / 434.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.2616, allocations: 27.92 kB / 434.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.2619, allocations: 237.7 kB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.262, allocations: 63.8 kB / 434.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.2621, allocations: 34.62 kB / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2621, allocations: 3.938 kB / 434.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.2622, allocations: 42.5 kB / 434.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2622, allocations: 4 kB / 434.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002791/0.2624, allocations: 93.48 kB / 434.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.2625, allocations: 102.8 kB / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.2627, allocations: 156.5 kB / 434.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.2627, allocations: 25.7 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.2628, allocations: 88.14 kB / 435 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.2628, allocations: 4 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.2628, allocations: 18.05 kB / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.263, allocations: 326.8 kB / 435.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.263, allocations: 7.984 kB / 435.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-05/0.2631, allocations: 35.38 kB / 435.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.939e-05/0.2632, allocations: 47.36 kB / 435.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2632, allocations: 0 / 435.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001489/0.2633, allocations: 73.61 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2633, allocations: 4 kB / 435.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2633, allocations: 4 kB / 435.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2633, allocations: 0 / 435.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.2634, allocations: 11.98 kB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2634, allocations: 7.875 kB / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.2635, allocations: 4 kB / 435.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2635, allocations: 0 / 435.6 MB, free: 1.883 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 0.0001031/0.2636, allocations: 129.9 kB / 435.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.2637, allocations: 49.61 kB / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.2637, allocations: 15.95 kB / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2637, allocations: 0 / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.2637, allocations: 11.94 kB / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2637, allocations: 0 / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.2639, allocations: 140.7 kB / 435.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2639, allocations: 0 / 435.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.129e-05/0.264, allocations: 15.92 kB / 435.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.264, allocations: 0 / 435.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.264, allocations: 4.062 kB / 435.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.264, allocations: 4 kB / 435.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.264, allocations: 3.938 kB / 435.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.2642, allocations: 177.2 kB / 436.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.2642, allocations: 15.94 kB / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2643, allocations: 0 / 436.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.2643, allocations: 7.984 kB / 436.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.2644, allocations: 3.938 kB / 436.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.2644, allocations: 7.938 kB / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.146e-05/0.2645, allocations: 119.2 kB / 436.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2645, allocations: 0 / 436.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.2647, allocations: 4 kB / 436.3 MB, free: 1.102 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.0005339/0.2652, allocations: 0.7063 MB / 437 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.2654, allocations: 27.92 kB / 437 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2654, allocations: 0 / 437 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.2654, allocations: 16.23 kB / 437 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2657, allocations: 31.89 kB / 437 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2673, allocations: 1.407 MB / 438.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.891e-05/0.2674, allocations: 79.31 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.621e-05/0.2675, allocations: 8.25 kB / 438.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.2675, allocations: 11.67 kB / 438.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2675, allocations: 0 / 438.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.2956, allocations: 2.259 MB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.35, allocations: 6.484 kB / 440.8 MB, free: 12.54 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.963009985163808]