Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 109.5 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 181.9 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 52.06 kB / 370.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3358, allocations: 52.19 MB / 422.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003251/0.339, allocations: 1.603 MB / 424.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3401, allocations: 0.4987 MB / 424.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3402, allocations: 7.875 kB / 424.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.533e-05/0.3402, allocations: 3.938 kB / 424.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.3404, allocations: 15.86 kB / 424.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.3408, allocations: 55.81 kB / 424.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.3409, allocations: 47.78 kB / 424.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3411, allocations: 8.188 kB / 424.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/0.3412, allocations: 31.91 kB / 424.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.3412, allocations: 19.86 kB / 424.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.3413, allocations: 4 kB / 424.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.3413, allocations: 4 kB / 424.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.3413, allocations: 15.92 kB / 425 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.3414, allocations: 23.81 kB / 425 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.3416, allocations: 67.05 kB / 425 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3416, allocations: 0 / 425 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3416, allocations: 0 / 425 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3416, allocations: 0 / 425 MB, free: 12.3 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.0006489/0.3422, allocations: 303 kB / 425.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3423, allocations: 12.03 kB / 425.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.3423, allocations: 34.75 kB / 425.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.3424, allocations: 8.891 kB / 425.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.3427, allocations: 153.4 kB / 425.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3427, allocations: 4.375 kB / 425.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3427, allocations: 4.375 kB / 425.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.3431, allocations: 113.8 kB / 425.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3431, allocations: 0 / 425.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3431, allocations: 11.94 kB / 425.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3431, allocations: 0 / 425.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.536e-05/0.3432, allocations: 19.98 kB / 425.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.3436, allocations: 245.6 kB / 425.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.3438, allocations: 67.78 kB / 426 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.048e-05/0.3439, allocations: 34.62 kB / 426 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3439, allocations: 7.938 kB / 426 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.3439, allocations: 34.56 kB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.3439, allocations: 0 / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003325/0.3443, allocations: 85.75 kB / 426.2 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.3444, allocations: 110.7 kB / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3445, allocations: 137.8 kB / 426.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3446, allocations: 29.7 kB / 426.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.3446, allocations: 96.06 kB / 426.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3447, allocations: 3.953 kB / 426.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.3447, allocations: 17.91 kB / 426.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3449, allocations: 326.8 kB / 426.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.3449, allocations: 11.94 kB / 426.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/0.345, allocations: 35.42 kB / 426.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3451, allocations: 47.36 kB / 427 MB, free: 10.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3451, allocations: 0 / 427 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001532/0.3453, allocations: 73.66 kB / 427 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3453, allocations: 11.94 kB / 427 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3453, allocations: 0 / 427 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.3453, allocations: 3.984 kB / 427 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.3454, allocations: 12.12 kB / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3454, allocations: 0 / 427.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.3455, allocations: 7.984 kB / 427.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3455, allocations: 4 kB / 427.1 MB, free: 10 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.0001301/0.3456, allocations: 117.8 kB / 427.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.3457, allocations: 53.58 kB / 427.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.3457, allocations: 11.97 kB / 427.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3457, allocations: 0 / 427.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3457, allocations: 8.062 kB / 427.3 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3457, allocations: 0 / 427.3 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.346, allocations: 148.7 kB / 427.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.346, allocations: 0 / 427.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.346, allocations: 12 kB / 427.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.346, allocations: 0 / 427.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.346, allocations: 0 / 427.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.346, allocations: 4 kB / 427.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.346, allocations: 3.984 kB / 427.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.3463, allocations: 189 kB / 427.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.3464, allocations: 11.95 kB / 427.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3464, allocations: 3.984 kB / 427.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.3464, allocations: 8 kB / 427.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.3465, allocations: 0 / 427.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3465, allocations: 0 / 427.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.124e-05/0.3466, allocations: 118.2 kB / 427.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3466, allocations: 0 / 427.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.3468, allocations: 4 kB / 427.7 MB, free: 9.242 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.0005463/0.3473, allocations: 0.7101 MB / 428.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.3475, allocations: 43.91 kB / 428.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3475, allocations: 0 / 428.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.3476, allocations: 4 kB / 428.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3479, allocations: 27.95 kB / 428.5 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.3496, allocations: 1.403 MB / 429.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.3501, allocations: 0.6922 MB / 430.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.3501, allocations: 7.984 kB / 430.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.3501, allocations: 19.38 kB / 430.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3501, allocations: 0 / 430.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.3814, allocations: 1.779 MB / 432.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.33, allocations: 10.23 kB / 432.4 MB, free: 4.512 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.07532289899973]