Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001571/0.001571, allocations: 131.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001719, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1132, allocations: 53.37 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.2495/0.3627, allocations: 14.01 MB / 440.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008589/0.3712, allocations: 3.841 MB / 444.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00358/0.3748, allocations: 118.3 kB / 444.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01367/0.3885, allocations: 5.607 MB / 449.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007116/0.3956, allocations: 1.356 MB / 451.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004511/0.4001, allocations: 1.201 MB / 452.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.4111, allocations: 6.382 MB / 458.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02204/0.4331, allocations: 10.75 MB / 469.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00708/0.4402, allocations: 3.362 MB / 473 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008204/0.4484, allocations: 3.867 MB / 476.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003377/0.4518, allocations: 0.8828 MB / 477.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004908/0.4567, allocations: 1.094 MB / 478.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0037/0.4604, allocations: 1.769 MB / 480.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008202/0.4686, allocations: 3.575 MB / 484.2 MB, free: 6.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01775/0.4863, allocations: 11.99 MB / 496.2 MB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4863, allocations: 0 / 496.2 MB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4863, allocations: 0 / 496.2 MB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003745/0.4867, allocations: 0 / 496.2 MB, free: 10.85 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.02547/0.5122, allocations: 7.913 MB / 0.4923 GB, free: 2.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.5122, allocations: 8.031 kB / 0.4923 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003725/0.516, allocations: 1.05 MB / 0.4933 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02082/0.5368, allocations: 2.877 MB / 0.4961 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008956/0.5457, allocations: 3.761 MB / 0.4998 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005748/0.5463, allocations: 485 kB / 0.5002 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/0.5488, allocations: 0.625 MB / 0.5009 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02491/0.5737, allocations: 9.35 MB / 0.51 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002774/0.574, allocations: 15.95 kB / 0.51 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002605/0.5766, allocations: 260 kB / 0.5102 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005297/0.5771, allocations: 317.5 kB / 0.5105 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/0.5973, allocations: 7.991 MB / 0.5184 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05505/0.6523, allocations: 28.81 MB / 0.5465 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.665, allocations: 11.46 MB / 0.5577 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/0.6676, allocations: 1.458 MB / 0.5591 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/0.6679, allocations: 240.1 kB / 0.5593 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.668, allocations: 56.56 kB / 0.5594 GB, free: 11.28 MB / 478.1 MB Notification: Performance of pre-optimization done (n=238): time 4.268e-06/0.668, allocations: 4 kB / 0.5594 GB, free: 11.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=238): time 0.008541/0.6765, allocations: 4.175 MB / 0.5635 GB, free: 7.055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.6766, allocations: 103.1 kB / 0.5636 GB, free: 6.934 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/0.6796, allocations: 1.903 MB / 0.5654 GB, free: 5.023 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.6798, allocations: 65.7 kB / 0.5655 GB, free: 4.953 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.6819, allocations: 2.647 MB / 0.5681 GB, free: 2.281 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009311/0.6828, allocations: 0.8561 MB / 0.5689 GB, free: 1.418 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.6838, allocations: 0.6679 MB / 0.5696 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.684, allocations: 309 kB / 0.5699 GB, free: 448 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.6862, allocations: 1.408 MB / 0.5712 GB, free: 15.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/0.6894, allocations: 2.595 MB / 0.5738 GB, free: 11.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005635/0.695, allocations: 4.246 MB / 0.5779 GB, free: 7.113 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.03e-05/0.695, allocations: 12 kB / 0.5779 GB, free: 7.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007713/0.7027, allocations: 4.543 MB / 0.5824 GB, free: 2.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.7028, allocations: 20 kB / 0.5824 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.473e-05/0.7028, allocations: 40 kB / 0.5824 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008555/0.7037, allocations: 309.7 kB / 0.5827 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/0.7066, allocations: 0.7761 MB / 0.5835 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/0.7129, allocations: 5.058 MB / 0.5884 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.7157, allocations: 421.1 kB / 0.5888 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006787/0.7164, allocations: 168 kB / 0.589 GB, free: 11.48 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.004677/0.7211, allocations: 2.187 MB / 0.5911 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007034/0.7218, allocations: 218.6 kB / 0.5913 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006462/0.7283, allocations: 3.178 MB / 0.5944 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/0.7283, allocations: 27.94 kB / 0.5944 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/0.7283, allocations: 4 kB / 0.5945 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.7283, allocations: 11.95 kB / 0.5945 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02221/0.7506, allocations: 12.67 MB / 0.6068 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/0.7506, allocations: 12.97 kB / 0.6068 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/0.7524, allocations: 447.3 kB / 0.6073 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000726/0.7531, allocations: 273.6 kB / 0.6075 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.7533, allocations: 75.97 kB / 0.6076 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.7588, allocations: 4.99 MB / 0.6125 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.902e-05/0.7588, allocations: 23.88 kB / 0.6125 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2236/0.9824, allocations: 5.013 MB / 0.6174 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.9838, allocations: 0.5375 MB / 0.6179 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/0.9841, allocations: 63.03 kB / 0.618 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.9855, allocations: 120.2 kB / 0.6181 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/0.9859, allocations: 207.8 kB / 0.6183 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/0.9861, allocations: 90.41 kB / 0.6184 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002412/0.9885, allocations: 1.291 MB / 0.6196 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.9885, allocations: 0 / 0.6196 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00457/0.9931, allocations: 1.463 MB / 0.6211 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.007803/1.001, allocations: 5.674 MB / 0.6266 GB, free: 151 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005945/1.007, allocations: 3.5 MB / 0.63 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.148e-05/1.007, allocations: 5.812 kB / 0.63 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/1.009, allocations: 1.588 MB / 0.6316 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/1.012, allocations: 0.5171 MB / 0.6321 GB, free: 148.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04376/1.056, allocations: 28.99 MB / 0.6604 GB, free: 133.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003425/1.06, allocations: 4.01 MB / 0.6643 GB, free: 131.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002745/1.062, allocations: 1.201 MB / 0.6655 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/1.064, allocations: 2.013 MB / 0.6675 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.082e-06/1.064, allocations: 0 / 0.6675 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/1.166, allocations: 67.07 MB / 0.733 GB, free: 64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/15.08, allocations: 0 / 0.733 GB, free: 64 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! Error: Could not read variable resistor2_3.pin_p.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.73116103897337]