Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001889/0.001889, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.00216/0.00216, allocations: 214.5 kB / 23.74 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2828, allocations: 53.36 MB / 431.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007172/0.29, allocations: 5.812 MB / 437 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.2923, allocations: 1.211 MB / 438.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.2927, allocations: 19.94 kB / 438.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.2931, allocations: 178.3 kB / 438.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005282/0.2936, allocations: 281.4 kB / 438.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.2941, allocations: 223.7 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.2951, allocations: 1.06 MB / 439.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/0.2957, allocations: 408.5 kB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.2962, allocations: 426.6 kB / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005785/0.2968, allocations: 473.9 kB / 441.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.2969, allocations: 96 kB / 441.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.297, allocations: 100 kB / 441.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.2972, allocations: 219.3 kB / 441.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004412/0.2976, allocations: 0.5094 MB / 442.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.2987, allocations: 1.105 MB / 443.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2987, allocations: 0 / 443.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2987, allocations: 3.938 kB / 443.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.2987, allocations: 0 / 443.3 MB, free: 10.72 MB / 350.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.001976/0.3007, allocations: 1.191 MB / 444.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3008, allocations: 12.03 kB / 444.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.3009, allocations: 152.1 kB / 444.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.3011, allocations: 108.3 kB / 444.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.3017, allocations: 393.6 kB / 445.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.3018, allocations: 74.38 kB / 445.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.3019, allocations: 96.38 kB / 445.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.3033, allocations: 0.8637 MB / 446.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.3033, allocations: 3.938 kB / 446.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/0.3034, allocations: 40 kB / 446.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.3034, allocations: 20 kB / 446.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.3044, allocations: 0.5739 MB / 446.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004248/0.3086, allocations: 2.876 MB / 449.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.3091, allocations: 274.9 kB / 449.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.3094, allocations: 228.7 kB / 450.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3094, allocations: 4 kB / 450.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.3095, allocations: 42.56 kB / 450.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.884e-06/0.3095, allocations: 0 / 450.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001425/0.3109, allocations: 0.5681 MB / 450.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.311, allocations: 63.33 kB / 450.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.3116, allocations: 0.5182 MB / 451.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.3116, allocations: 33.7 kB / 451.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.312, allocations: 0.4953 MB / 451.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.3121, allocations: 162.6 kB / 452 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.3123, allocations: 134.6 kB / 452.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.3125, allocations: 366.8 kB / 452.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.3128, allocations: 169.9 kB / 452.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.3133, allocations: 449.5 kB / 453.1 MB, free: 464 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/0.3142, allocations: 0.6547 MB / 453.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3142, allocations: 4 kB / 453.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001229/0.3154, allocations: 0.7559 MB / 454.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3155, allocations: 8 kB / 454.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3155, allocations: 8 kB / 454.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.3158, allocations: 88.75 kB / 454.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.3164, allocations: 195.9 kB / 454.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.3186, allocations: 1.895 MB / 456.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.319, allocations: 95.28 kB / 456.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.3191, allocations: 43.92 kB / 456.8 MB, free: 12.46 MB / 366.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.0002871/0.3193, allocations: 209.7 kB / 457 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.512e-05/0.3194, allocations: 63.62 kB / 457.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.3196, allocations: 65.5 kB / 457.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3196, allocations: 4 kB / 457.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3196, allocations: 7.938 kB / 457.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3196, allocations: 4 kB / 457.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.3204, allocations: 0.6171 MB / 457.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3204, allocations: 0 / 457.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.3208, allocations: 99.94 kB / 457.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.321, allocations: 76.95 kB / 458 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.321, allocations: 8 kB / 458 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.3229, allocations: 1.887 MB / 459.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3229, allocations: 0 / 459.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.3239, allocations: 0.6546 MB / 460.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.324, allocations: 63.53 kB / 460.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.3241, allocations: 12.06 kB / 460.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.3245, allocations: 43.97 kB / 460.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.3245, allocations: 31.94 kB / 460.7 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3246, allocations: 16 kB / 460.7 MB, free: 8.422 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004012/0.325, allocations: 342.9 kB / 461 MB, free: 8.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.325, allocations: 0 / 461 MB, free: 8.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007854/0.3258, allocations: 247.5 kB / 461.3 MB, free: 7.848 MB / 366.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.001399/0.3272, allocations: 1.218 MB / 462.5 MB, free: 6.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3282, allocations: 0.5607 MB / 463 MB, free: 6.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3282, allocations: 0 / 463 MB, free: 6.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.3287, allocations: 308.1 kB / 463.3 MB, free: 5.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.3293, allocations: 124.8 kB / 463.5 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007677/0.3369, allocations: 5.487 MB / 469 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.3375, allocations: 0.9298 MB / 469.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.3378, allocations: 69.22 kB / 470 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.3381, allocations: 267.3 kB / 470.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3381, allocations: 0 / 470.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04699/0.3851, allocations: 13.43 MB / 483.6 MB, free: 1.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.45, allocations: 3.25 kB / 483.6 MB, free: 1.258 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 15.033840140000393]