Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001807/0.001807, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002301/0.002301, allocations: 214.9 kB / 23.75 MB, free: 4.672 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.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 59.91 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2589, allocations: 53.41 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003145/0.262, allocations: 1.611 MB / 432.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2632, allocations: 0.5765 MB / 433.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.2633, allocations: 7.938 kB / 433.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.945e-05/0.2633, allocations: 7.875 kB / 433.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.2635, allocations: 11.92 kB / 433.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.2638, allocations: 71.11 kB / 433.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.264, allocations: 47.8 kB / 433.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.2641, allocations: 12.17 kB / 433.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.2642, allocations: 39.84 kB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.2643, allocations: 11.94 kB / 433.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2643, allocations: 4 kB / 433.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.366e-05/0.2643, allocations: 7.984 kB / 433.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.2645, allocations: 11.94 kB / 433.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.2645, allocations: 35.73 kB / 433.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.2647, allocations: 55.12 kB / 433.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2647, allocations: 0 / 433.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2647, allocations: 0 / 433.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2647, allocations: 0 / 433.7 MB, free: 4.148 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.0005286/0.2652, allocations: 318.9 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2653, allocations: 12.03 kB / 434 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.2653, allocations: 34.75 kB / 434.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.2655, allocations: 16.88 kB / 434.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.2657, allocations: 150.5 kB / 434.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2658, allocations: 4.125 kB / 434.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2658, allocations: 12 kB / 434.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2661, allocations: 113.8 kB / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.2661, allocations: 0 / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2661, allocations: 0 / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2661, allocations: 0 / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.2662, allocations: 23.98 kB / 434.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.2665, allocations: 249.6 kB / 434.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.2667, allocations: 71.78 kB / 434.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.2667, allocations: 30.62 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.2667, allocations: 0 / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.2668, allocations: 34.56 kB / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2668, allocations: 0 / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002937/0.2671, allocations: 93.45 kB / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/0.2672, allocations: 106.8 kB / 434.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2673, allocations: 153.7 kB / 435.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2674, allocations: 25.7 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.2674, allocations: 96.06 kB / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.2674, allocations: 4.359 kB / 435.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.2675, allocations: 25.67 kB / 435.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002527/0.2677, allocations: 318.8 kB / 435.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.433e-05/0.2678, allocations: 8 kB / 435.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.2678, allocations: 35.42 kB / 435.6 MB, free: 2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.476e-05/0.2679, allocations: 47.36 kB / 435.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2679, allocations: 0 / 435.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001436/0.2681, allocations: 77.48 kB / 435.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2681, allocations: 4 kB / 435.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2681, allocations: 4 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2681, allocations: 4.219 kB / 435.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.2682, allocations: 8 kB / 435.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2682, allocations: 3.938 kB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.2682, allocations: 11.97 kB / 435.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2682, allocations: 0 / 435.8 MB, free: 1.824 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 8.94e-05/0.2683, allocations: 117.8 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/0.2684, allocations: 57.53 kB / 435.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.2684, allocations: 12.03 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2684, allocations: 4 kB / 435.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2685, allocations: 7.938 kB / 435.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2685, allocations: 0 / 435.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.2686, allocations: 148.7 kB / 436.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2686, allocations: 0 / 436.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.2687, allocations: 12 kB / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2687, allocations: 0 / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.2687, allocations: 0 / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2687, allocations: 7.984 kB / 436.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2687, allocations: 7.875 kB / 436.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.269, allocations: 177.2 kB / 436.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.269, allocations: 15.95 kB / 436.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.269, allocations: 3.984 kB / 436.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.2691, allocations: 4 kB / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.2691, allocations: 3.938 kB / 436.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.2691, allocations: 4 kB / 436.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.731e-05/0.2692, allocations: 114.2 kB / 436.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2692, allocations: 3.938 kB / 436.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.2695, allocations: 8 kB / 436.4 MB, free: 1.047 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.0005162/0.27, allocations: 0.7024 MB / 437.1 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.2701, allocations: 39.91 kB / 437.2 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2701, allocations: 0 / 437.2 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.2702, allocations: 8 kB / 437.2 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.2705, allocations: 32.39 kB / 437.2 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2722, allocations: 1.412 MB / 438.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.2726, allocations: 0.699 MB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.034e-05/0.2727, allocations: 0 / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.2727, allocations: 19.42 kB / 439.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2727, allocations: 0 / 439.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.3022, allocations: 1.805 MB / 441.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.15, allocations: 15.92 kB / 441.2 MB, free: 12.27 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.82252605100075]