Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.0009524/0.0009524, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.007979/0.007979, allocations: 162.5 kB / 24.69 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9156/0.9156, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.954e-05, allocations: 2.281 kB / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.1506/0.1506, allocations: 12.55 MB / 311 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008605/0.1592, allocations: 3.837 MB / 314.8 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.1623, allocations: 108.4 kB / 314.9 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006924/0.1692, allocations: 5.522 MB / 320.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005611/0.1748, allocations: 1.655 MB / 322.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.1778, allocations: 1.201 MB / 323.3 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.009426/0.1873, allocations: 7.072 MB / 330.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01387/0.2011, allocations: 9.215 MB / 339.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0109/0.212, allocations: 5.21 MB / 344.8 MB, free: 304 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005862/0.2179, allocations: 3.618 MB / 348.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002469/0.2204, allocations: 0.9151 MB / 349.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.2235, allocations: 1.097 MB / 350.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.2251, allocations: 1.975 MB / 352.4 MB, free: 8.676 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004472/0.2296, allocations: 2.549 MB / 355 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.2409, allocations: 12.53 MB / 367.5 MB, free: 9.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.2409, allocations: 0 / 367.5 MB, free: 9.559 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2409, allocations: 0 / 367.5 MB, free: 9.559 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000459/0.2413, allocations: 0 / 367.5 MB, free: 9.559 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01831/0.2597, allocations: 8.304 MB / 375.8 MB, free: 1.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.2597, allocations: 11.98 kB / 375.8 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002493/0.2622, allocations: 1.143 MB / 377 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/0.2779, allocations: 5.107 MB / 382.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007775/0.2857, allocations: 3.566 MB / 385.6 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.2861, allocations: 0.5098 MB / 386.1 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002827/0.2889, allocations: 0.6679 MB / 386.8 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/0.3084, allocations: 10.65 MB / 397.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/0.3085, allocations: 15.92 kB / 397.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/0.3096, allocations: 284 kB / 397.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002746/0.3098, allocations: 382.7 kB / 398.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.3255, allocations: 9.594 MB / 407.7 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/0.3664, allocations: 27.71 MB / 435.4 MB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007829/0.3742, allocations: 5.72 MB / 441.2 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002166/0.3764, allocations: 1.749 MB / 442.9 MB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00708/0.3835, allocations: 4.726 MB / 447.6 MB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.3835, allocations: 52.06 kB / 447.7 MB, free: 8.844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.679e-06/0.3835, allocations: 0 / 447.7 MB, free: 8.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.006125/0.3897, allocations: 3.018 MB / 450.7 MB, free: 5.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.3897, allocations: 106.5 kB / 450.8 MB, free: 5.695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004535/0.3943, allocations: 2.747 MB / 453.6 MB, free: 2.914 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.3944, allocations: 53.64 kB / 453.6 MB, free: 2.855 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002123/0.3965, allocations: 3.228 MB / 456.8 MB, free: 15.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006309/0.3972, allocations: 0.5736 MB / 457.4 MB, free: 15.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.3985, allocations: 0.7903 MB / 458.2 MB, free: 14.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.3986, allocations: 305.1 kB / 458.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.4006, allocations: 1.464 MB / 460 MB, free: 12.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.4031, allocations: 3.261 MB / 463.2 MB, free: 8.344 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00421/0.4073, allocations: 4.824 MB / 468 MB, free: 2.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.626e-05/0.4074, allocations: 16 kB / 468.1 MB, free: 2.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.1656/0.5729, allocations: 5.085 MB / 473.1 MB, free: 128 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.133e-05/0.573, allocations: 31.72 kB / 473.2 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.5731, allocations: 61.81 kB / 473.2 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007706/0.5739, allocations: 331.3 kB / 473.6 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.5762, allocations: 0.8855 MB / 474.4 MB, free: 128 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/0.5801, allocations: 4.795 MB / 479.2 MB, free: 125.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.5825, allocations: 0.5505 MB / 479.8 MB, free: 125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/0.5829, allocations: 210.5 kB / 480 MB, free: 125 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.003322/0.5863, allocations: 2.334 MB / 482.3 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.5866, allocations: 237.6 kB / 482.6 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.5895, allocations: 2.309 MB / 484.9 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.5895, allocations: 15.5 kB / 484.9 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.702e-05/0.5895, allocations: 6.938 kB / 484.9 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.5895, allocations: 13.03 kB / 484.9 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008808/0.5983, allocations: 5.109 MB / 490 MB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/0.5984, allocations: 1.438 kB / 490 MB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009022/0.5993, allocations: 261.1 kB / 490.3 MB, free: 121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005248/0.5998, allocations: 259.6 kB / 490.5 MB, free: 121 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.5999, allocations: 30.53 kB / 490.6 MB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.6031, allocations: 4.687 MB / 495.2 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.6031, allocations: 5.094 kB / 495.2 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/0.6065, allocations: 3.305 MB / 498.6 MB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/0.6072, allocations: 410 kB / 499 MB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.6074, allocations: 31 kB / 499 MB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/0.608, allocations: 91.81 kB / 499.1 MB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.6082, allocations: 115.6 kB / 499.2 MB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.6082, allocations: 46.78 kB / 499.2 MB, free: 115.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002/0.6102, allocations: 1.715 MB / 0.4892 GB, free: 114.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6102, allocations: 0 / 0.4892 GB, free: 114.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004309/0.6146, allocations: 1.552 MB / 0.4907 GB, free: 114.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003445/0.618, allocations: 3.923 MB / 0.4946 GB, free: 112.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003909/0.6219, allocations: 3.342 MB / 0.4978 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6219, allocations: 3.625 kB / 0.4978 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6229, allocations: 1.175 MB / 0.499 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.6249, allocations: 493.2 kB / 0.4994 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/0.6566, allocations: 31.04 MB / 0.5298 GB, free: 79.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003377/0.66, allocations: 3.673 MB / 0.5333 GB, free: 75.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002132/0.6622, allocations: 1.291 MB / 0.5346 GB, free: 74.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/0.664, allocations: 2.121 MB / 0.5367 GB, free: 72.43 MB / 426.7 MB Notification: Performance of SimCode: time 2.165e-06/0.664, allocations: 0 / 0.5367 GB, free: 72.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.077/0.741, allocations: 70.34 MB / 0.6054 GB, free: 1.914 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.074/9.815, allocations: 6.031 kB / 0.6054 GB, free: 1.91 MB / 426.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv failed! Error: Could not read variable resistor2_3.pin_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.623525091446936]