Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001394/0.001394, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.003046/0.003046, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 55.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3749, allocations: 49.16 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004124/0.379, allocations: 2.779 MB / 399.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3803, allocations: 0.6643 MB / 399.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.3805, allocations: 9.656 kB / 399.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3807, allocations: 52.28 kB / 399.9 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.3809, allocations: 86.53 kB / 400 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.3812, allocations: 77.8 kB / 400 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.3816, allocations: 360.4 kB / 400.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.3819, allocations: 107.8 kB / 400.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.382, allocations: 132.7 kB / 400.6 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.3823, allocations: 158.1 kB / 400.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.73e-05/0.3824, allocations: 31.03 kB / 400.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.3824, allocations: 31.22 kB / 400.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.3825, allocations: 69.19 kB / 400.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.3826, allocations: 159.2 kB / 401.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.3831, allocations: 360.2 kB / 401.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3831, allocations: 0 / 401.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3831, allocations: 1.406 kB / 401.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.3831, allocations: 0 / 401.4 MB, free: 5.742 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.000907/0.384, allocations: 0.5283 MB / 401.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3841, allocations: 13.27 kB / 401.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.3842, allocations: 66.72 kB / 402 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/0.3842, allocations: 38 kB / 402 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.3846, allocations: 189.8 kB / 402.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.3846, allocations: 26.19 kB / 402.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.3846, allocations: 33.92 kB / 402.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.3851, allocations: 253 kB / 402.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3851, allocations: 0 / 402.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.3851, allocations: 10.53 kB / 402.6 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3852, allocations: 7.922 kB / 402.6 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.3855, allocations: 191.4 kB / 402.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.3869, allocations: 0.9633 MB / 403.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.3873, allocations: 166.8 kB / 403.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.3875, allocations: 133.6 kB / 404 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3875, allocations: 2.375 kB / 404 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3875, allocations: 33.66 kB / 404 MB, free: 4.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.3875, allocations: 0 / 404 MB, free: 4.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001345/0.3889, allocations: 0.6992 MB / 404.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.3889, allocations: 58.66 kB / 404.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.3891, allocations: 196.2 kB / 405 MB, free: 3.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3891, allocations: 31.05 kB / 405 MB, free: 3.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.3892, allocations: 178.3 kB / 405.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.3892, allocations: 89.53 kB / 405.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.3893, allocations: 50.44 kB / 405.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.3894, allocations: 334.5 kB / 405.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3895, allocations: 74 kB / 405.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.3897, allocations: 100.2 kB / 405.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.3899, allocations: 184.6 kB / 406 MB, free: 2.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3899, allocations: 0.9375 kB / 406 MB, free: 2.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005496/0.3905, allocations: 314.2 kB / 406.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3905, allocations: 4.594 kB / 406.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3905, allocations: 2.312 kB / 406.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.3908, allocations: 86.75 kB / 406.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.391, allocations: 53.02 kB / 406.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.3927, allocations: 1.995 MB / 408.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.3928, allocations: 11.97 kB / 408.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3928, allocations: 9.5 kB / 408.5 MB, free: 0.7422 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.393, allocations: 136.7 kB / 408.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.393, allocations: 18.23 kB / 408.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.3931, allocations: 31.88 kB / 408.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3931, allocations: 3.594 kB / 408.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.3931, allocations: 2.75 kB / 408.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3931, allocations: 5.344 kB / 408.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3942, allocations: 0.7123 MB / 409.4 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3942, allocations: 1.75 kB / 409.4 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.3944, allocations: 35.86 kB / 409.4 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/0.3946, allocations: 80.25 kB / 409.5 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.3947, allocations: 6.078 kB / 409.5 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.3968, allocations: 1.897 MB / 411.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3968, allocations: 0 / 411.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007767/0.3976, allocations: 466.3 kB / 411.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.3977, allocations: 19.47 kB / 411.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.3977, allocations: 7.328 kB / 411.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.3979, allocations: 12.34 kB / 411.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.398, allocations: 17.72 kB / 411.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.398, allocations: 14.27 kB / 411.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3982, allocations: 150.5 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3982, allocations: 0 / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000521/0.3987, allocations: 78.34 kB / 412.1 MB, free: 13.99 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.4, allocations: 0.9904 MB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.4009, allocations: 349.9 kB / 413.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4009, allocations: 4.062 kB / 413.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.4014, allocations: 246.2 kB / 413.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.4019, allocations: 40.94 kB / 413.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.4064, allocations: 2.819 MB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.4069, allocations: 0.7636 MB / 417.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.407, allocations: 20.55 kB / 417.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.4072, allocations: 85.73 kB / 417.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4072, allocations: 0 / 417.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/0.4658, allocations: 6.05 MB / 423.5 MB, free: 6.961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.97, allocations: 9.266 kB / 423.5 MB, free: 6.953 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119904 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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: 15.955706958004157]