Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001784/0.001784, allocations: 107.5 kB / 20.44 MB, free: 1.055 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.002003/0.002003, allocations: 181.2 kB / 23.7 MB, free: 4.188 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.414/1.414, allocations: 225.7 MB / 252.5 MB, free: 12.87 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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 47.92 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2635, allocations: 52.19 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01578/0.2793, allocations: 11.98 MB / 434.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007728/0.287, allocations: 3.646 MB / 438.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.2887, allocations: 119.4 kB / 438.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.3011, allocations: 5.165 MB / 443.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005357/0.3064, allocations: 1.535 MB / 445 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.3096, allocations: 1.065 MB / 446.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008757/0.3184, allocations: 6.386 MB / 452.5 MB, free: 408 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01366/0.332, allocations: 9.052 MB / 461.5 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00435/0.3364, allocations: 3.367 MB / 464.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005815/0.3422, allocations: 3.733 MB / 468.6 MB, free: 100 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.3439, allocations: 0.8829 MB / 469.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.3463, allocations: 1.062 MB / 470.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001714/0.348, allocations: 1.769 MB / 472.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003858/0.3519, allocations: 2.794 MB / 475.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.3651, allocations: 12.04 MB / 487.2 MB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3651, allocations: 0 / 487.2 MB, free: 13.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3651, allocations: 0 / 487.2 MB, free: 13.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002501/0.3654, allocations: 0 / 487.2 MB, free: 13.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02053/0.3859, allocations: 7.837 MB / 495 MB, free: 5.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3859, allocations: 8.031 kB / 495 MB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002313/0.3882, allocations: 1.043 MB / 496.1 MB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01927/0.4075, allocations: 2.924 MB / 499 MB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008806/0.4163, allocations: 3.74 MB / 0.491 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004239/0.4168, allocations: 485.1 kB / 0.4914 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.4181, allocations: 0.6288 MB / 0.492 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02047/0.4386, allocations: 9.485 MB / 0.5013 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/0.4388, allocations: 11.95 kB / 0.5013 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001365/0.4402, allocations: 264 kB / 0.5016 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003666/0.4406, allocations: 321.5 kB / 0.5019 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.4567, allocations: 7.935 MB / 0.5096 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04887/0.5056, allocations: 25.18 MB / 0.5342 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1934/0.699, allocations: 3.889 MB / 0.538 GB, free: 101.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/0.701, allocations: 1.447 MB / 0.5394 GB, free: 101 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.7012, allocations: 51.75 kB / 0.5395 GB, free: 101 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.7012, allocations: 71.75 kB / 0.5395 GB, free: 100.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.819e-06/0.7012, allocations: 0 / 0.5395 GB, free: 100.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006636/0.7078, allocations: 4.001 MB / 0.5434 GB, free: 99.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.7079, allocations: 101.5 kB / 0.5435 GB, free: 99.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.7099, allocations: 1.983 MB / 0.5455 GB, free: 98.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.7101, allocations: 65.52 kB / 0.5455 GB, free: 98.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008654/0.7109, allocations: 2.645 MB / 0.5481 GB, free: 97.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.7113, allocations: 0.8496 MB / 0.5489 GB, free: 96.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007254/0.712, allocations: 0.662 MB / 0.5496 GB, free: 96.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.319e-05/0.7121, allocations: 305.1 kB / 0.5499 GB, free: 96.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.7136, allocations: 1.404 MB / 0.5512 GB, free: 95.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.7156, allocations: 2.6 MB / 0.5538 GB, free: 93.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/0.7192, allocations: 4.24 MB / 0.5579 GB, free: 89.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/0.7192, allocations: 8 kB / 0.5579 GB, free: 89.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005279/0.7245, allocations: 4.514 MB / 0.5623 GB, free: 85.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.7245, allocations: 24 kB / 0.5624 GB, free: 85.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/0.7246, allocations: 39.75 kB / 0.5624 GB, free: 85.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006518/0.7252, allocations: 317.7 kB / 0.5627 GB, free: 85.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.7276, allocations: 0.778 MB / 0.5635 GB, free: 84.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/0.7315, allocations: 4.778 MB / 0.5681 GB, free: 79.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.7334, allocations: 421.1 kB / 0.5685 GB, free: 79.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/0.7337, allocations: 164 kB / 0.5687 GB, free: 79.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002598/0.7363, allocations: 2.183 MB / 0.5708 GB, free: 77.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/0.7366, allocations: 217.2 kB / 0.571 GB, free: 76.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/0.7406, allocations: 3.182 MB / 0.5741 GB, free: 73.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.7407, allocations: 24 kB / 0.5742 GB, free: 73.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.7407, allocations: 7.984 kB / 0.5742 GB, free: 73.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.7407, allocations: 11.95 kB / 0.5742 GB, free: 73.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.7542, allocations: 10.66 MB / 0.5846 GB, free: 62.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.7543, allocations: 16 kB / 0.5846 GB, free: 62.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.7558, allocations: 439.3 kB / 0.585 GB, free: 62.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005852/0.7564, allocations: 273.9 kB / 0.5853 GB, free: 62.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.7565, allocations: 67.98 kB / 0.5853 GB, free: 61.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003752/0.7603, allocations: 4.721 MB / 0.59 GB, free: 57.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.7603, allocations: 23.88 kB / 0.59 GB, free: 57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005143/0.7654, allocations: 4.995 MB / 0.5949 GB, free: 51.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.7665, allocations: 481.8 kB / 0.5953 GB, free: 51.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.7667, allocations: 67.94 kB / 0.5954 GB, free: 51.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.768, allocations: 123.9 kB / 0.5955 GB, free: 51.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.7682, allocations: 213.3 kB / 0.5957 GB, free: 50.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.7683, allocations: 83.98 kB / 0.5958 GB, free: 50.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001341/0.7697, allocations: 1.294 MB / 0.5971 GB, free: 49.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7697, allocations: 0 / 0.5971 GB, free: 49.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003142/0.7728, allocations: 1.459 MB / 0.5985 GB, free: 48.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * 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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005515/0.7783, allocations: 5.673 MB / 0.604 GB, free: 42.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004376/0.7827, allocations: 3.48 MB / 0.6074 GB, free: 38.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.7827, allocations: 0 / 0.6074 GB, free: 38.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.7845, allocations: 1.596 MB / 0.609 GB, free: 37.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.787, allocations: 0.5163 MB / 0.6095 GB, free: 36.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/0.8197, allocations: 29.08 MB / 0.6379 GB, free: 5.684 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002949/0.8226, allocations: 3.498 MB / 0.6413 GB, free: 2.145 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002473/0.8251, allocations: 1.191 MB / 0.6425 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/0.8273, allocations: 1.995 MB / 0.6444 GB, free: 14.95 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.8273, allocations: 0 / 0.6444 GB, free: 14.95 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/0.9553, allocations: 68.13 MB / 0.7109 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.97, allocations: 0 / 0.7109 GB, free: 11.28 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor1_3.pin_p.reference.gamma in file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! Error: Could not read variable resistor2_3.pin_p.reference.gamma in file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.50965130608529]