Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001438/0.001438, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001384/0.001384, allocations: 195.4 kB / 23.71 MB, free: 4.406 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.382/1.382, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 43.92 kB / 370.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2754, allocations: 52.19 MB / 422.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004353/0.2798, allocations: 2.608 MB / 425.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2809, allocations: 0.5921 MB / 425.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.281, allocations: 4 kB / 425.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.2812, allocations: 55.5 kB / 425.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.2814, allocations: 87.19 kB / 425.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.2816, allocations: 71.91 kB / 426 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.282, allocations: 350.9 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.2822, allocations: 101.5 kB / 426.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.2824, allocations: 131.6 kB / 426.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.2826, allocations: 135.3 kB / 426.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.2827, allocations: 32 kB / 426.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.653e-05/0.2827, allocations: 28 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.2828, allocations: 67.77 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.2829, allocations: 139.4 kB / 427 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.2834, allocations: 366.5 kB / 427.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2834, allocations: 4 kB / 427.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2834, allocations: 0 / 427.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.2834, allocations: 0 / 427.3 MB, free: 9.609 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009303/0.2843, allocations: 0.5287 MB / 427.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2843, allocations: 8.031 kB / 427.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.479e-05/0.2844, allocations: 66.72 kB / 427.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.2845, allocations: 32.75 kB / 428 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.2849, allocations: 206 kB / 428.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.2849, allocations: 21.03 kB / 428.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.285, allocations: 28.38 kB / 428.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.2855, allocations: 301.6 kB / 428.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2855, allocations: 0 / 428.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.2855, allocations: 12 kB / 428.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.2855, allocations: 8 kB / 428.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.2859, allocations: 182.5 kB / 428.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.2874, allocations: 0.9094 MB / 429.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.2878, allocations: 160.7 kB / 429.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.288, allocations: 132.8 kB / 429.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.288, allocations: 11.86 kB / 429.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.2881, allocations: 38.56 kB / 429.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.2881, allocations: 0 / 429.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001495/0.2896, allocations: 0.7004 MB / 430.6 MB, free: 6.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.2896, allocations: 59.41 kB / 430.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.2898, allocations: 187.2 kB / 430.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.2898, allocations: 29.7 kB / 430.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.29, allocations: 176.5 kB / 431.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.2901, allocations: 95.16 kB / 431.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.2902, allocations: 57.98 kB / 431.2 MB, free: 5.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2903, allocations: 334.8 kB / 431.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2905, allocations: 68.53 kB / 431.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.2907, allocations: 111.6 kB / 431.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.291, allocations: 177.6 kB / 431.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.291, allocations: 0 / 431.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005606/0.2915, allocations: 326.7 kB / 432.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2915, allocations: 4 kB / 432.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2915, allocations: 0 / 432.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.2918, allocations: 88.75 kB / 432.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.292, allocations: 47.91 kB / 432.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.2943, allocations: 1.973 MB / 434.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2944, allocations: 7.938 kB / 434.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2944, allocations: 8 kB / 434.4 MB, free: 2.18 MB / 334.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.0001685/0.2946, allocations: 145.8 kB / 434.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.2946, allocations: 19.86 kB / 434.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.2947, allocations: 29.95 kB / 434.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2947, allocations: 4 kB / 434.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.2947, allocations: 4 kB / 434.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2947, allocations: 4.031 kB / 434.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.2958, allocations: 0.6779 MB / 435.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.2958, allocations: 7.984 kB / 435.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.296, allocations: 43.92 kB / 435.3 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.2962, allocations: 68.8 kB / 435.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.2962, allocations: 4 kB / 435.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.2982, allocations: 1.868 MB / 437.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2982, allocations: 0 / 437.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.2989, allocations: 468 kB / 437.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.2989, allocations: 15.91 kB / 437.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.299, allocations: 8.25 kB / 437.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.2991, allocations: 19.98 kB / 437.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.2992, allocations: 19.95 kB / 437.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.2992, allocations: 8.281 kB / 437.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.2994, allocations: 144.4 kB / 437.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2994, allocations: 0 / 437.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004252/0.2998, allocations: 79.94 kB / 438 MB, free: 14.37 MB / 350.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.001101/0.3009, allocations: 0.9979 MB / 439 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007202/0.3016, allocations: 346.4 kB / 439.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3016, allocations: 4 kB / 439.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.3021, allocations: 254.9 kB / 439.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3024, allocations: 39.97 kB / 439.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.3062, allocations: 2.823 MB / 442.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.3064, allocations: 162.8 kB / 442.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.205e-05/0.3065, allocations: 18.3 kB / 442.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3066, allocations: 87.41 kB / 442.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3066, allocations: 0 / 442.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04369/0.3503, allocations: 6.608 MB / 449.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.84, allocations: 3.938 kB / 449.3 MB, free: 3.047 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 14.348098451737314]