Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001423/0.001423, 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.001389/0.001389, allocations: 183.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.585/1.585, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 51.92 kB / 370.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3457, allocations: 52.18 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003823/0.3495, allocations: 1.595 MB / 424.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000927/0.3505, allocations: 478.8 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.988e-05/0.3506, allocations: 3.938 kB / 424.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.007e-05/0.3506, allocations: 7.938 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.3508, allocations: 15.91 kB / 424.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.351, allocations: 43.83 kB / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3512, allocations: 43.8 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3513, allocations: 8 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.3514, allocations: 19.92 kB / 424.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.3515, allocations: 23.86 kB / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3515, allocations: 4 kB / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.3515, allocations: 4 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.3516, allocations: 19.97 kB / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.3516, allocations: 19.81 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3518, allocations: 64.09 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3518, allocations: 0 / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3518, allocations: 0 / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3518, allocations: 0 / 425 MB, free: 12.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006742/0.3525, allocations: 298 kB / 425.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.3525, allocations: 12.03 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.3526, allocations: 34.73 kB / 425.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.3526, allocations: 16.89 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.3529, allocations: 130.4 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3529, allocations: 4.375 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.353, allocations: 4.375 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.3533, allocations: 121.1 kB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3533, allocations: 0 / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.3534, allocations: 7.984 kB / 425.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3534, allocations: 0 / 425.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.896e-05/0.3534, allocations: 27.91 kB / 425.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.3538, allocations: 236.8 kB / 425.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.3541, allocations: 65.14 kB / 425.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.3541, allocations: 25.77 kB / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3542, allocations: 4 kB / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3542, allocations: 38.44 kB / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3542, allocations: 4 kB / 426 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002901/0.3545, allocations: 77.62 kB / 426.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.3546, allocations: 85.05 kB / 426.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3547, allocations: 141.1 kB / 426.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3547, allocations: 25.7 kB / 426.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.3548, allocations: 84.14 kB / 426.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3548, allocations: 7.953 kB / 426.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.3549, allocations: 21.84 kB / 426.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3551, allocations: 322.8 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.3551, allocations: 7.984 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.3552, allocations: 31.44 kB / 426.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3553, allocations: 51.36 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3553, allocations: 0 / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000148/0.3554, allocations: 73.56 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3554, allocations: 4 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3554, allocations: 0 / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.3554, allocations: 8.125 kB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.274e-05/0.3555, allocations: 15.92 kB / 426.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3555, allocations: 3.984 kB / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.3556, allocations: 8 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3556, allocations: 0 / 426.9 MB, free: 10.02 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.0001052/0.3557, allocations: 125.7 kB / 427 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.3558, allocations: 45.66 kB / 427.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.3558, allocations: 12.33 kB / 427.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3558, allocations: 4 kB / 427.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3558, allocations: 0 / 427.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3558, allocations: 4 kB / 427.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.356, allocations: 148.6 kB / 427.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.356, allocations: 0 / 427.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.3561, allocations: 15.98 kB / 427.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3561, allocations: 3.938 kB / 427.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3561, allocations: 4 kB / 427.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3561, allocations: 0 / 427.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3561, allocations: 0 / 427.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.3563, allocations: 176.6 kB / 427.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.3564, allocations: 15.94 kB / 427.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3564, allocations: 4 kB / 427.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.3564, allocations: 0 / 427.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.3565, allocations: 3.938 kB / 427.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3565, allocations: 4 kB / 427.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.3566, allocations: 111.2 kB / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3566, allocations: 3.938 kB / 427.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000224/0.3568, allocations: 4 kB / 427.6 MB, free: 9.266 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0006162/0.3574, allocations: 0.6976 MB / 428.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.3576, allocations: 43.91 kB / 428.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3576, allocations: 0 / 428.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.3576, allocations: 4 kB / 428.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.358, allocations: 27.05 kB / 428.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.3596, allocations: 1.351 MB / 429.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.36, allocations: 0.6922 MB / 430.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.154e-05/0.36, allocations: 8.25 kB / 430.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.3601, allocations: 11.44 kB / 430.4 MB, free: 6.277 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3601, allocations: 4 kB / 430.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.391, allocations: 1.676 MB / 432.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.82, allocations: 14.28 kB / 432.1 MB, free: 4.719 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.579517868001858]