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.001347/0.001347, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001429/0.001429, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.524/1.524, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.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 0.001533/0.001533, allocations: 55.89 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1117, allocations: 53.32 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.2285/0.3402, allocations: 14 MB / 440.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008971/0.3492, allocations: 3.848 MB / 444.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00373/0.3529, allocations: 118.6 kB / 444.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0134/0.3663, allocations: 5.596 MB / 449.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007089/0.3734, allocations: 1.364 MB / 451.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.3777, allocations: 1.195 MB / 452.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01073/0.3884, allocations: 6.385 MB / 458.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01757/0.406, allocations: 10.76 MB / 469.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005626/0.4116, allocations: 3.353 MB / 472.9 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007153/0.4187, allocations: 3.872 MB / 476.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002089/0.4208, allocations: 0.8828 MB / 477.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/0.4243, allocations: 1.086 MB / 478.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.4263, allocations: 1.773 MB / 480.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007079/0.4334, allocations: 3.575 MB / 484.1 MB, free: 7.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.4495, allocations: 12 MB / 496.1 MB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4495, allocations: 0 / 496.1 MB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4495, allocations: 0 / 496.1 MB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003388/0.4498, allocations: 0 / 496.1 MB, free: 11.08 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.02387/0.4737, allocations: 7.909 MB / 0.4922 GB, free: 3.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.4738, allocations: 8.031 kB / 0.4922 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002482/0.4762, allocations: 1.058 MB / 0.4933 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02017/0.4964, allocations: 2.877 MB / 0.4961 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008722/0.5051, allocations: 3.761 MB / 0.4997 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005608/0.5057, allocations: 489.1 kB / 0.5002 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002451/0.5081, allocations: 0.6172 MB / 0.5008 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02625/0.5344, allocations: 9.358 MB / 0.5099 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003277/0.5347, allocations: 11.94 kB / 0.51 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/0.5367, allocations: 260 kB / 0.5102 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003755/0.5371, allocations: 321.5 kB / 0.5105 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.5559, allocations: 7.985 MB / 0.5183 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05649/0.6124, allocations: 28.8 MB / 0.5464 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/0.6263, allocations: 11.48 MB / 0.5576 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/0.6292, allocations: 1.455 MB / 0.5591 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/0.6296, allocations: 236.1 kB / 0.5593 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.6296, allocations: 56.56 kB / 0.5593 GB, free: 11.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 4.158e-06/0.6297, allocations: 0 / 0.5593 GB, free: 11.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=238): time 0.009283/0.6389, allocations: 4.183 MB / 0.5634 GB, free: 7.285 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.639, allocations: 99.11 kB / 0.5635 GB, free: 7.168 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/0.6429, allocations: 1.903 MB / 0.5654 GB, free: 5.258 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002166/0.6431, allocations: 65.7 kB / 0.5654 GB, free: 5.188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002239/0.6453, allocations: 2.643 MB / 0.568 GB, free: 2.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/0.6463, allocations: 0.8522 MB / 0.5689 GB, free: 1.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/0.6477, allocations: 0.6757 MB / 0.5695 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6478, allocations: 309.1 kB / 0.5698 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/0.6502, allocations: 1.408 MB / 0.5712 GB, free: 15.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/0.6537, allocations: 2.599 MB / 0.5737 GB, free: 12.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006453/0.6601, allocations: 4.25 MB / 0.5779 GB, free: 7.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.484e-05/0.6602, allocations: 12 kB / 0.5779 GB, free: 7.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008773/0.6689, allocations: 4.539 MB / 0.5823 GB, free: 2.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/0.669, allocations: 24 kB / 0.5823 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.224e-05/0.6691, allocations: 36 kB / 0.5824 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.6703, allocations: 313.5 kB / 0.5827 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003201/0.6735, allocations: 0.7761 MB / 0.5834 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006291/0.6798, allocations: 5.056 MB / 0.5884 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/0.6827, allocations: 421.1 kB / 0.5888 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004452/0.6831, allocations: 168 kB / 0.5889 GB, free: 11.72 MB / 0.4981 GB 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.004372/0.6875, allocations: 2.183 MB / 0.5911 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006171/0.6881, allocations: 222.6 kB / 0.5913 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006428/0.6945, allocations: 3.17 MB / 0.5944 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.6945, allocations: 24 kB / 0.5944 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/0.6946, allocations: 11.94 kB / 0.5944 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/0.6946, allocations: 15.89 kB / 0.5944 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02317/0.7178, allocations: 12.67 MB / 0.6068 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.385e-05/0.7178, allocations: 16.06 kB / 0.6068 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/0.7199, allocations: 443.3 kB / 0.6072 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008717/0.7208, allocations: 277.6 kB / 0.6075 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003125/0.7211, allocations: 71.97 kB / 0.6076 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006286/0.7274, allocations: 4.987 MB / 0.6124 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.007e-05/0.7274, allocations: 23.88 kB / 0.6125 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2344/0.9618, allocations: 5.005 MB / 0.6173 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.963, allocations: 0.5391 MB / 0.6179 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.9633, allocations: 63.97 kB / 0.6179 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.9647, allocations: 119.8 kB / 0.618 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/0.965, allocations: 211.5 kB / 0.6183 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.9652, allocations: 90.33 kB / 0.6183 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001951/0.9671, allocations: 1.294 MB / 0.6196 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.9671, allocations: 0 / 0.6196 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004177/0.9713, allocations: 1.46 MB / 0.621 GB, free: 153.8 MB / 0.5137 GB 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.007556/0.9789, allocations: 5.674 MB / 0.6266 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006123/0.985, allocations: 3.502 MB / 0.63 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/0.985, allocations: 2.75 kB / 0.63 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002578/0.9876, allocations: 1.592 MB / 0.6315 GB, free: 149.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.9908, allocations: 0.5146 MB / 0.632 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04336/1.034, allocations: 28.99 MB / 0.6604 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00339/1.038, allocations: 4.01 MB / 0.6643 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002713/1.04, allocations: 1.2 MB / 0.6654 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/1.042, allocations: 2.009 MB / 0.6674 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/1.042, allocations: 3.938 kB / 0.6674 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.153, allocations: 67.08 MB / 0.7329 GB, free: 64.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.1, allocations: 4 kB / 0.7329 GB, free: 64.35 MB / 0.5137 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/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: 17.753501125000184]