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.001031/0.001031, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008328/0.0008328, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8989/0.8989, allocations: 173.4 MB / 200.4 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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 1.894e-06/1.894e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.44e-05, allocations: 6.219 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002215/0.00224, allocations: 1.566 MB / 320 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006826/0.002922, allocations: 486.6 kB / 320.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.861e-05/0.003011, allocations: 4 kB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.832e-05/0.003059, allocations: 15.8 kB / 320.5 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.003198, allocations: 11.88 kB / 320.5 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.003461, allocations: 55.81 kB / 320.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.857e-05/0.003559, allocations: 47.78 kB / 320.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.003654, allocations: 16.17 kB / 320.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.003733, allocations: 35.83 kB / 320.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.003783, allocations: 15.98 kB / 320.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.003811, allocations: 4 kB / 320.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-06/0.003821, allocations: 0 / 320.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.003874, allocations: 11.94 kB / 320.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.003902, allocations: 19.92 kB / 320.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.004011, allocations: 51.8 kB / 320.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004013, allocations: 0 / 320.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004013, allocations: 0 / 320.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.004018, allocations: 0 / 320.8 MB, free: 4.02 MB / 282.7 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.0003984/0.004417, allocations: 309.2 kB / 321.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.004457, allocations: 12.92 kB / 321.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.004492, allocations: 30.75 kB / 321.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.004519, allocations: 16.83 kB / 321.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.004715, allocations: 141.6 kB / 321.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.004724, allocations: 384 / 321.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.004736, allocations: 8.375 kB / 321.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.004977, allocations: 118.4 kB / 321.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004985, allocations: 192 / 321.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.004993, allocations: 3.938 kB / 321.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.004998, allocations: 0 / 321.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.00505, allocations: 23.92 kB / 321.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.005393, allocations: 237.8 kB / 321.7 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.005489, allocations: 75.72 kB / 321.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.005531, allocations: 30.64 kB / 321.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.005554, allocations: 7.984 kB / 321.8 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.005576, allocations: 38.5 kB / 321.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.005577, allocations: 0 / 321.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001937/0.005771, allocations: 81.56 kB / 321.9 MB, free: 2.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.005824, allocations: 106.8 kB / 322 MB, free: 2.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.005913, allocations: 142.2 kB / 322.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.005924, allocations: 29.7 kB / 322.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.005965, allocations: 92.08 kB / 322.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.005978, allocations: 3.953 kB / 322.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.006004, allocations: 17.72 kB / 322.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.006085, allocations: 314.8 kB / 322.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.006108, allocations: 11.94 kB / 322.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.006128, allocations: 15.92 kB / 322.6 MB, free: 1.949 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.006167, allocations: 16.84 kB / 322.6 MB, free: 1.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006169, allocations: 64 / 322.6 MB, free: 1.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.923e-05/0.006239, allocations: 61.52 kB / 322.7 MB, free: 1.863 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.006252, allocations: 8 kB / 322.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006257, allocations: 0 / 322.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.006269, allocations: 0 / 322.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.006325, allocations: 4 kB / 322.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.00633, allocations: 0 / 322.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.006348, allocations: 3.984 kB / 322.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.006355, allocations: 0 / 322.7 MB, free: 1.848 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.369e-05/0.006418, allocations: 125.8 kB / 322.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.006464, allocations: 53.58 kB / 322.9 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.006493, allocations: 11.97 kB / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006495, allocations: 0 / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.0065, allocations: 4 kB / 322.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.006503, allocations: 0 / 322.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.006644, allocations: 148.7 kB / 323 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.006647, allocations: 4 kB / 323 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.006707, allocations: 15.92 kB / 323 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.00671, allocations: 0 / 323 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.006716, allocations: 4.062 kB / 323.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.006719, allocations: 4 kB / 323.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006721, allocations: 0 / 323.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.006854, allocations: 173.1 kB / 323.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.00689, allocations: 19.94 kB / 323.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.006901, allocations: 0 / 323.2 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.006943, allocations: 4 kB / 323.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.006972, allocations: 0 / 323.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.006978, allocations: 4 kB / 323.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.415e-05/0.007032, allocations: 113.8 kB / 323.4 MB, free: 1.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007032, allocations: 4 kB / 323.4 MB, free: 1.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001516/0.007184, allocations: 8 kB / 323.4 MB, free: 1.082 MB / 282.7 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.0003072/0.007491, allocations: 0.7063 MB / 324.1 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.459e-05/0.007586, allocations: 27.92 kB / 324.1 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007587, allocations: 0 / 324.1 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-05/0.007607, allocations: 8 kB / 324.1 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.00788, allocations: 28.17 kB / 324.1 MB, free: 288 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009139/0.008793, allocations: 1.326 MB / 325.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.013e-05/0.008854, allocations: 75.33 kB / 325.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.646e-05/0.00888, allocations: 4.219 kB / 325.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.00892, allocations: 20.48 kB / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.00892, allocations: 0 / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.02602, allocations: 2.343 MB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/6.716, allocations: 3.125 kB / 327.9 MB, free: 12.54 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/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: 8.561001130379736]