Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001287/0.001287, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001381/0.001381, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.406/1.406, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.246, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004143/0.2502, allocations: 2.634 MB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2514, allocations: 0.6232 MB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.2515, allocations: 4 kB / 434.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.2517, allocations: 47.5 kB / 434.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.2519, allocations: 91.19 kB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.2521, allocations: 79.89 kB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.2525, allocations: 354.9 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.2528, allocations: 109.5 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.2529, allocations: 131.5 kB / 435.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.2531, allocations: 151.4 kB / 435.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.505e-05/0.2532, allocations: 32 kB / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.2533, allocations: 32 kB / 435.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.2533, allocations: 71.7 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.2535, allocations: 131.5 kB / 435.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.2539, allocations: 366.5 kB / 435.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2539, allocations: 4 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2539, allocations: 0 / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.2539, allocations: 0 / 435.9 MB, free: 1.797 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.0009494/0.2549, allocations: 0.5248 MB / 436.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2549, allocations: 8.031 kB / 436.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.961e-05/0.255, allocations: 66.72 kB / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.2551, allocations: 36.75 kB / 436.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.2555, allocations: 198.8 kB / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.2555, allocations: 25.03 kB / 436.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.2556, allocations: 24.38 kB / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.256, allocations: 305.6 kB / 437.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.256, allocations: 0 / 437.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.2561, allocations: 16 kB / 437.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.2561, allocations: 4 kB / 437.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.2564, allocations: 194.5 kB / 437.3 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.258, allocations: 0.9092 MB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.2583, allocations: 178.2 kB / 438.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.2585, allocations: 127.4 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.2585, allocations: 8 kB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.2586, allocations: 34.94 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.2586, allocations: 0 / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001493/0.2601, allocations: 0.699 MB / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.2601, allocations: 55.41 kB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.2603, allocations: 196.2 kB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.2604, allocations: 29.7 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2605, allocations: 172.5 kB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/0.2606, allocations: 95.2 kB / 439.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.2607, allocations: 49.94 kB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2609, allocations: 342.8 kB / 440.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.261, allocations: 68.53 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.2612, allocations: 103.6 kB / 440.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.2615, allocations: 178.2 kB / 440.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2615, allocations: 0 / 440.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000528/0.262, allocations: 318.1 kB / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.262, allocations: 4 kB / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.262, allocations: 0 / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.2623, allocations: 96.72 kB / 440.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.2625, allocations: 43.91 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.2647, allocations: 1.973 MB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.2648, allocations: 8.031 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.2648, allocations: 12 kB / 443 MB, free: 10.37 MB / 350.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.000161/0.265, allocations: 133.8 kB / 443.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.265, allocations: 15.91 kB / 443.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.2651, allocations: 29.95 kB / 443.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2651, allocations: 4 kB / 443.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.2651, allocations: 8.047 kB / 443.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2651, allocations: 3.938 kB / 443.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.2662, allocations: 0.6855 MB / 443.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2662, allocations: 0 / 443.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.2664, allocations: 39.97 kB / 443.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002026/0.2666, allocations: 84.77 kB / 444 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2666, allocations: 4 kB / 444 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.2684, allocations: 1.871 MB / 445.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2684, allocations: 0 / 445.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.2691, allocations: 460.4 kB / 446.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.2691, allocations: 19.92 kB / 446.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.2692, allocations: 4 kB / 446.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.2693, allocations: 15.98 kB / 446.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.2694, allocations: 23.95 kB / 446.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.2694, allocations: 4 kB / 446.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.2695, allocations: 143.4 kB / 446.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2695, allocations: 7.938 kB / 446.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004159/0.2699, allocations: 80 kB / 446.6 MB, free: 6.559 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.001044/0.271, allocations: 0.9904 MB / 447.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006789/0.2717, allocations: 358.4 kB / 447.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2717, allocations: 3.938 kB / 447.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.2721, allocations: 250.9 kB / 448.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.2724, allocations: 40.3 kB / 448.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.2761, allocations: 2.824 MB / 451 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.2763, allocations: 162.7 kB / 451.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.878e-05/0.2763, allocations: 22.28 kB / 451.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.2765, allocations: 83.41 kB / 451.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2765, allocations: 0 / 451.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03991/0.3164, allocations: 6.695 MB / 458 MB, free: 11.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.65, allocations: 8.062 kB / 458 MB, free: 11.16 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.249651510006515]