Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001348/0.001348, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001096/0.001096, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9237/0.9237, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.7e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.008918/0.008935, allocations: 12.02 MB / 336.6 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006452/0.01539, allocations: 3.714 MB / 340.3 MB, free: 136 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.01744, allocations: 119.4 kB / 340.4 MB, free: 16 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006546/0.02398, allocations: 5.474 MB / 345.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.02923, allocations: 1.435 MB / 347.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.03192, allocations: 1.179 MB / 348.5 MB, free: 7.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006122/0.03804, allocations: 6.685 MB / 355.2 MB, free: 1.211 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.04878, allocations: 9.08 MB / 364.3 MB, free: 8.008 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004944/0.05373, allocations: 4.942 MB / 369.2 MB, free: 3.059 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003703/0.05743, allocations: 3.353 MB / 372.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.05872, allocations: 0.8867 MB / 373.5 MB, free: 14.81 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.06019, allocations: 1.082 MB / 374.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.06129, allocations: 1.808 MB / 376.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003888/0.06518, allocations: 2.39 MB / 378.7 MB, free: 9.523 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.07663, allocations: 12.12 MB / 390.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.07663, allocations: 0 / 390.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.07664, allocations: 4 kB / 390.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003181/0.07695, allocations: 0 / 390.9 MB, free: 13.36 MB / 362.7 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.01374/0.0907, allocations: 7.779 MB / 398.6 MB, free: 5.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.09075, allocations: 8.031 kB / 398.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00132/0.09207, allocations: 1.054 MB / 399.7 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009048/0.1011, allocations: 2.877 MB / 402.6 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008632/0.1097, allocations: 3.756 MB / 406.3 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004885/0.1102, allocations: 481.1 kB / 406.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002702/0.1129, allocations: 0.6288 MB / 407.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/0.1326, allocations: 9.516 MB / 417 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.1328, allocations: 7.953 kB / 417 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004925/0.1333, allocations: 263.9 kB / 417.2 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002338/0.1335, allocations: 321.5 kB / 417.5 MB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.1463, allocations: 7.946 MB / 425.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04058/0.1869, allocations: 25.23 MB / 450.7 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1495/0.3364, allocations: 3.912 MB / 454.6 MB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.3379, allocations: 1.456 MB / 456.1 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.338, allocations: 70.89 kB / 456.1 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3381, allocations: 59.94 kB / 456.2 MB, free: 106.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 4.208e-06/0.3381, allocations: 2.219 kB / 456.2 MB, free: 106.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.004286/0.3423, allocations: 4.025 MB / 460.2 MB, free: 105.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3424, allocations: 105.8 kB / 460.3 MB, free: 105.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.344, allocations: 1.973 MB / 462.3 MB, free: 104.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.3441, allocations: 65.61 kB / 462.4 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007476/0.3448, allocations: 2.638 MB / 465 MB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.3452, allocations: 0.837 MB / 465.8 MB, free: 102.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005398/0.3457, allocations: 0.673 MB / 466.5 MB, free: 102.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.632e-05/0.3458, allocations: 305.1 kB / 466.8 MB, free: 101.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.3469, allocations: 1.41 MB / 468.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.3484, allocations: 2.599 MB / 470.8 MB, free: 99.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.3511, allocations: 4.242 MB / 475.1 MB, free: 94.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.3511, allocations: 8 kB / 475.1 MB, free: 94.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003677/0.3548, allocations: 4.538 MB / 479.6 MB, free: 90.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3548, allocations: 24 kB / 479.6 MB, free: 90.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.3548, allocations: 39.98 kB / 479.7 MB, free: 90.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/0.3553, allocations: 311.6 kB / 480 MB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.3566, allocations: 0.784 MB / 480.8 MB, free: 89.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.3592, allocations: 4.781 MB / 485.5 MB, free: 84.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.3603, allocations: 421.1 kB / 486 MB, free: 84.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.3604, allocations: 164 kB / 486.1 MB, free: 84.03 MB / 410.7 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.002064/0.3625, allocations: 2.191 MB / 488.3 MB, free: 81.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.3626, allocations: 218.6 kB / 488.5 MB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.3653, allocations: 3.17 MB / 491.7 MB, free: 78.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3653, allocations: 27.94 kB / 491.7 MB, free: 78.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3654, allocations: 4 kB / 491.7 MB, free: 78.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.3654, allocations: 11.95 kB / 491.7 MB, free: 78.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009347/0.3747, allocations: 10.75 MB / 0.4907 GB, free: 67.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.3747, allocations: 16 kB / 0.4907 GB, free: 67.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008522/0.3756, allocations: 443.3 kB / 0.4911 GB, free: 66.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003741/0.376, allocations: 273.9 kB / 0.4914 GB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-05/0.376, allocations: 75.97 kB / 0.4915 GB, free: 66.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.3786, allocations: 4.717 MB / 0.4961 GB, free: 61.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.3786, allocations: 26.5 kB / 0.4961 GB, free: 61.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/0.3822, allocations: 4.987 MB / 0.501 GB, free: 56.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/0.3828, allocations: 489 kB / 0.5014 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.383, allocations: 63.98 kB / 0.5015 GB, free: 55.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.3836, allocations: 111.9 kB / 0.5016 GB, free: 55.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.3838, allocations: 217.2 kB / 0.5018 GB, free: 55.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.3839, allocations: 91.97 kB / 0.5019 GB, free: 55.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.3849, allocations: 1.291 MB / 0.5032 GB, free: 54.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3849, allocations: 0 / 0.5032 GB, free: 54.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002577/0.3875, allocations: 1.459 MB / 0.5046 GB, free: 52.76 MB / 410.7 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.00391/0.3914, allocations: 5.662 MB / 0.5101 GB, free: 46.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003609/0.395, allocations: 3.492 MB / 0.5135 GB, free: 43.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.395, allocations: 4.125 kB / 0.5135 GB, free: 43.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.3964, allocations: 1.596 MB / 0.5151 GB, free: 41.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.3981, allocations: 0.514 MB / 0.5156 GB, free: 41.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02616/0.4242, allocations: 29 MB / 0.5439 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/0.4272, allocations: 3.498 MB / 0.5473 GB, free: 6.879 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003042/0.4303, allocations: 1.199 MB / 0.5485 GB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/0.4319, allocations: 2.012 MB / 0.5505 GB, free: 3.656 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4319, allocations: 0 / 0.5505 GB, free: 3.656 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2164/0.6484, allocations: 68.67 MB / 0.6175 GB, free: 161.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.728/9.376, allocations: 3.906 kB / 0.6175 GB, free: 161.1 MB / 474.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.191278942860663]