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.001311/0.001311, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001407/0.001407, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.4/1.4, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.002139/0.002139, allocations: 47.92 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2999, allocations: 53.36 MB / 431.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003357/0.3032, allocations: 1.61 MB / 432.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3044, allocations: 0.5765 MB / 433.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-05/0.3045, allocations: 7.938 kB / 433.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.3046, allocations: 7.875 kB / 433.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.3047, allocations: 11.88 kB / 433.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.3051, allocations: 67.8 kB / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.3052, allocations: 47.84 kB / 433.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3053, allocations: 12.19 kB / 433.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3055, allocations: 35.78 kB / 433.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.3055, allocations: 15.92 kB / 433.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.3055, allocations: 4 kB / 433.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.043e-05/0.3056, allocations: 4 kB / 433.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.3056, allocations: 15.92 kB / 433.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.3057, allocations: 31.75 kB / 433.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3059, allocations: 57.42 kB / 433.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3059, allocations: 4 kB / 433.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3059, allocations: 0 / 433.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3059, allocations: 0 / 433.7 MB, free: 4.316 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.0005842/0.3064, allocations: 317.9 kB / 434 MB, free: 3.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3065, allocations: 8.031 kB / 434 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.3065, allocations: 34.75 kB / 434 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3067, allocations: 16.88 kB / 434 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.307, allocations: 150.9 kB / 434.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.307, allocations: 12.06 kB / 434.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.307, allocations: 4 kB / 434.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.3073, allocations: 109.9 kB / 434.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3073, allocations: 4 kB / 434.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3073, allocations: 4 kB / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3073, allocations: 0 / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-05/0.3074, allocations: 23.92 kB / 434.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.3078, allocations: 241.7 kB / 434.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.3079, allocations: 67.84 kB / 434.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.308, allocations: 30.58 kB / 434.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.308, allocations: 7.969 kB / 434.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.3081, allocations: 42.5 kB / 434.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3081, allocations: 4 kB / 434.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002817/0.3084, allocations: 81.52 kB / 434.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.3085, allocations: 106.8 kB / 434.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3086, allocations: 156.3 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3087, allocations: 29.7 kB / 435.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.3087, allocations: 84.14 kB / 435.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.3088, allocations: 11.94 kB / 435.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.3088, allocations: 21.66 kB / 435.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3089, allocations: 314.8 kB / 435.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.309, allocations: 11.98 kB / 435.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/0.3091, allocations: 43.36 kB / 435.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/0.3091, allocations: 43.36 kB / 435.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3091, allocations: 4 kB / 435.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.3093, allocations: 69.72 kB / 435.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3093, allocations: 4 kB / 435.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3093, allocations: 7.984 kB / 435.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3093, allocations: 0 / 435.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.3094, allocations: 11.98 kB / 435.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3094, allocations: 3.938 kB / 435.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.3094, allocations: 4 kB / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3094, allocations: 0 / 435.7 MB, free: 2 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.585e-05/0.3095, allocations: 130.5 kB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.3096, allocations: 49.61 kB / 435.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.3097, allocations: 15.95 kB / 435.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3097, allocations: 0 / 435.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3097, allocations: 7.938 kB / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3097, allocations: 0 / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.3099, allocations: 144.7 kB / 436 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3099, allocations: 0 / 436 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.3099, allocations: 15.92 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3099, allocations: 3.938 kB / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.3099, allocations: 4.062 kB / 436.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3099, allocations: 4 kB / 436.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3099, allocations: 3.938 kB / 436.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.3101, allocations: 173.2 kB / 436.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.3102, allocations: 19.94 kB / 436.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3102, allocations: 4 kB / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.3102, allocations: 4 kB / 436.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3103, allocations: 7.922 kB / 436.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3103, allocations: 3.938 kB / 436.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.156e-05/0.3104, allocations: 112.8 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3104, allocations: 0 / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000226/0.3106, allocations: 11.94 kB / 436.4 MB, free: 1.215 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.0004719/0.3111, allocations: 0.7063 MB / 437.1 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.3112, allocations: 27.92 kB / 437.1 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3112, allocations: 4.25 kB / 437.1 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.664e-05/0.3112, allocations: 11.98 kB / 437.1 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3116, allocations: 31.89 kB / 437.2 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3131, allocations: 1.404 MB / 438.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3135, allocations: 0.6924 MB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.3135, allocations: 7.984 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.3136, allocations: 15.44 kB / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3136, allocations: 0 / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.3414, allocations: 1.821 MB / 441.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.18, allocations: 9.625 kB / 441.1 MB, free: 12.46 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.664266477000638]