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.001405/0.001405, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001525/0.001525, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001715/0.001715, allocations: 47.92 kB / 377.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2839, allocations: 53.37 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007494/0.2914, allocations: 5.082 MB / 436.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.2943, allocations: 1.176 MB / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008274/0.2952, allocations: 27.88 kB / 437.4 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.2958, allocations: 170.4 kB / 437.6 MB, free: 132 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.2969, allocations: 281.4 kB / 437.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.2975, allocations: 219.7 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001629/0.2991, allocations: 1.06 MB / 439.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007407/0.2999, allocations: 388.5 kB / 439.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006378/0.3005, allocations: 422.6 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.3011, allocations: 405.9 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.3012, allocations: 96 kB / 440.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.3014, allocations: 96 kB / 440.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.3016, allocations: 223.2 kB / 440.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000427/0.302, allocations: 434.1 kB / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.3031, allocations: 1.116 MB / 442.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3031, allocations: 0 / 442.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3031, allocations: 0 / 442.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3031, allocations: 0 / 442.3 MB, free: 11.4 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.002013/0.3051, allocations: 1.191 MB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3052, allocations: 8.031 kB / 443.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.3054, allocations: 148.1 kB / 443.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.3055, allocations: 108.3 kB / 443.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/0.3062, allocations: 397.6 kB / 444.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.3063, allocations: 74.38 kB / 444.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3064, allocations: 92.38 kB / 444.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.3079, allocations: 1.148 MB / 445.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.3079, allocations: 0 / 445.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.653e-05/0.308, allocations: 40 kB / 445.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.308, allocations: 27.94 kB / 445.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.309, allocations: 0.5661 MB / 446.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/0.3131, allocations: 2.67 MB / 448.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.3136, allocations: 269.5 kB / 449 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.3139, allocations: 225.2 kB / 449.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3139, allocations: 8 kB / 449.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.314, allocations: 38.56 kB / 449.3 MB, free: 4.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.314, allocations: 0 / 449.3 MB, free: 4.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00142/0.3154, allocations: 0.5721 MB / 449.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.3154, allocations: 59.34 kB / 449.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.3161, allocations: 0.5336 MB / 450.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.3161, allocations: 33.7 kB / 450.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.3164, allocations: 0.4992 MB / 450.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.3166, allocations: 158.7 kB / 451.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.3167, allocations: 146.5 kB / 451.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3169, allocations: 362.8 kB / 451.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3172, allocations: 169.9 kB / 451.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.3177, allocations: 453.5 kB / 452.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.3186, allocations: 0.6546 MB / 452.9 MB, free: 208 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.3186, allocations: 4 kB / 452.9 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001229/0.3198, allocations: 0.7555 MB / 453.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3198, allocations: 8 kB / 453.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3198, allocations: 8 kB / 453.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.3201, allocations: 85.41 kB / 453.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.3208, allocations: 195.7 kB / 453.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.3229, allocations: 1.895 MB / 455.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.3234, allocations: 87.58 kB / 455.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.3235, allocations: 39.94 kB / 455.9 MB, free: 13 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.0003157/0.3238, allocations: 217.5 kB / 456.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.3239, allocations: 63.56 kB / 456.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-05/0.324, allocations: 73.56 kB / 456.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.324, allocations: 4 kB / 456.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.324, allocations: 0 / 456.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.324, allocations: 3.984 kB / 456.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.3248, allocations: 0.5548 MB / 456.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3248, allocations: 0 / 456.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.3252, allocations: 95.94 kB / 456.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.3254, allocations: 76.73 kB / 457 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.3254, allocations: 4 kB / 457 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.3273, allocations: 1.867 MB / 458.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3273, allocations: 7.969 kB / 458.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.3283, allocations: 0.6587 MB / 459.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3285, allocations: 63.73 kB / 459.6 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.3285, allocations: 12 kB / 459.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.329, allocations: 51.97 kB / 459.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.329, allocations: 23.94 kB / 459.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.3291, allocations: 15.98 kB / 459.7 MB, free: 9.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004299/0.3295, allocations: 346.9 kB / 460 MB, free: 8.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3295, allocations: 0 / 460 MB, free: 8.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008142/0.3303, allocations: 247.4 kB / 460.3 MB, free: 8.461 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.00133/0.3316, allocations: 1.218 MB / 461.5 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.3327, allocations: 0.5562 MB / 462.1 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3327, allocations: 1.875 kB / 462.1 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.3331, allocations: 302.7 kB / 462.4 MB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.3337, allocations: 126.4 kB / 462.5 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/0.3407, allocations: 5.487 MB / 468 MB, free: 388 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.3411, allocations: 340 kB / 468.3 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.3414, allocations: 65.2 kB / 468.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.3417, allocations: 263.3 kB / 468.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3417, allocations: 4 kB / 468.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/0.3905, allocations: 14.15 MB / 482.8 MB, free: 1.828 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.03, allocations: 8.047 kB / 482.8 MB, free: 1.82 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.640134418848902]