Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001412/0.001412, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001504/0.001504, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.533/1.533, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.001886/0.001886, allocations: 51.94 kB / 347.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4047, allocations: 49.16 MB / 396.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005868/0.4105, allocations: 5.732 MB / 402.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.4137, allocations: 1.208 MB / 403.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.4144, allocations: 20.53 kB / 403.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.4149, allocations: 171.9 kB / 403.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006952/0.4156, allocations: 281.8 kB / 403.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.4162, allocations: 221.6 kB / 404 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.4175, allocations: 1.068 MB / 405.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000828/0.4183, allocations: 408.4 kB / 405.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007336/0.4191, allocations: 429.4 kB / 405.9 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007097/0.4198, allocations: 470 kB / 406.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.4199, allocations: 96.62 kB / 406.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.4201, allocations: 101.1 kB / 406.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.4203, allocations: 218.4 kB / 406.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.4208, allocations: 0.5087 MB / 407.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.4221, allocations: 1.099 MB / 408.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.4221, allocations: 1.375 kB / 408.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4222, allocations: 0.9844 kB / 408.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.4222, allocations: 0 / 408.4 MB, free: 1.414 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002293/0.4245, allocations: 1.196 MB / 409.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.4245, allocations: 14.14 kB / 409.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.4247, allocations: 145.3 kB / 409.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.4249, allocations: 111 kB / 409.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.4258, allocations: 397.5 kB / 410.2 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.4258, allocations: 71.44 kB / 410.3 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.426, allocations: 101.6 kB / 410.4 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.4275, allocations: 0.8758 MB / 411.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.4275, allocations: 0 / 411.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/0.4276, allocations: 37.66 kB / 411.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.4276, allocations: 23.66 kB / 411.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4288, allocations: 0.5708 MB / 411.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.4337, allocations: 2.873 MB / 414.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.4342, allocations: 266.7 kB / 415 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.4346, allocations: 224.4 kB / 415.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.4347, allocations: 16.55 kB / 415.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.4347, allocations: 41.22 kB / 415.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.4347, allocations: 0 / 415.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001533/0.4362, allocations: 0.5743 MB / 415.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.4363, allocations: 63.28 kB / 415.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/0.437, allocations: 0.5108 MB / 416.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.437, allocations: 33.02 kB / 416.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.4374, allocations: 0.4945 MB / 417 MB, free: 11.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.4376, allocations: 166.2 kB / 417.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.4378, allocations: 135.4 kB / 417.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.438, allocations: 367.7 kB / 417.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.4383, allocations: 172 kB / 417.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/0.4389, allocations: 457.5 kB / 418.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.4399, allocations: 0.6422 MB / 418.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.4399, allocations: 2.469 kB / 418.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001495/0.4414, allocations: 0.7575 MB / 419.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.4414, allocations: 8.688 kB / 419.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.4415, allocations: 9.438 kB / 419.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.4418, allocations: 87.62 kB / 419.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/0.4425, allocations: 193.3 kB / 419.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.4448, allocations: 1.899 MB / 421.8 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.4454, allocations: 93.48 kB / 421.9 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.4454, allocations: 35.44 kB / 422 MB, free: 7.785 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0003492/0.4458, allocations: 216.3 kB / 422.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4459, allocations: 60.56 kB / 422.2 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.446, allocations: 63.27 kB / 422.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.446, allocations: 4.375 kB / 422.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.446, allocations: 1.375 kB / 422.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.446, allocations: 9.484 kB / 422.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.4469, allocations: 0.6265 MB / 422.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4469, allocations: 1.344 kB / 422.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.4473, allocations: 94.19 kB / 423 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/0.4475, allocations: 77.05 kB / 423.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.4475, allocations: 10.66 kB / 423.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.4496, allocations: 1.878 MB / 425 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4496, allocations: 0 / 425 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4506, allocations: 0.6711 MB / 425.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.4508, allocations: 62.58 kB / 425.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.4508, allocations: 10.56 kB / 425.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.4512, allocations: 44.31 kB / 425.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.4513, allocations: 29.59 kB / 425.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.4513, allocations: 17.17 kB / 425.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004152/0.4517, allocations: 340.8 kB / 426.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4517, allocations: 0 / 426.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008597/0.4526, allocations: 245 kB / 426.4 MB, free: 4.426 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,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.001393/0.454, allocations: 1.214 MB / 427.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.4551, allocations: 0.5617 MB / 428.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4551, allocations: 0.8125 kB / 428.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.4555, allocations: 310 kB / 428.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.4561, allocations: 118.5 kB / 428.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007627/0.4638, allocations: 5.487 MB / 434.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.4644, allocations: 0.9375 MB / 435 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000261/0.4646, allocations: 65.2 kB / 435.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.465, allocations: 267.3 kB / 435.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.465, allocations: 8 kB / 435.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05115/0.5161, allocations: 13.43 MB / 448.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.75, allocations: 12.89 kB / 448.8 MB, free: 13.53 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_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_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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: 16.59420331900037]