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.001687/0.001687, allocations: 119.8 kB / 17.74 MB, free: 5.32 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.002018/0.002018, allocations: 185.3 kB / 20.68 MB, free: 2.391 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.474/1.474, allocations: 222.9 MB / 246.4 MB, free: 4.184 MB / 190.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.002128/0.002128, allocations: 51.91 kB / 357.5 MB, free: 8.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1171, allocations: 49.43 MB / 406.9 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01617/0.1333, allocations: 13.92 MB / 420.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008836/0.1422, allocations: 3.777 MB / 424.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/0.1448, allocations: 99.75 kB / 424.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2129/0.3577, allocations: 5.554 MB / 430.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.3625, allocations: 1.514 MB / 431.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.3652, allocations: 1.066 MB / 432.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008038/0.3733, allocations: 6.287 MB / 439.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01732/0.3906, allocations: 13.66 MB / 452.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007234/0.3979, allocations: 3.481 MB / 456.3 MB, free: 0 / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008498/0.4064, allocations: 3.856 MB / 460.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0028/0.4093, allocations: 0.8853 MB / 461 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003978/0.4133, allocations: 1.073 MB / 462.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002715/0.416, allocations: 1.77 MB / 463.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007356/0.4234, allocations: 3.562 MB / 467.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.438, allocations: 11.98 MB / 479.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.438, allocations: 0 / 479.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.438, allocations: 0 / 479.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002783/0.4383, allocations: 4 kB / 479.4 MB, free: 14.72 MB / 382.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.02191/0.4602, allocations: 7.914 MB / 487.3 MB, free: 6.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4603, allocations: 8.031 kB / 487.3 MB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002872/0.4632, allocations: 1.045 MB / 488.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0193/0.4825, allocations: 2.923 MB / 491.3 MB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00783/0.4903, allocations: 3.751 MB / 495.1 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004834/0.4909, allocations: 484.4 kB / 495.5 MB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002039/0.4929, allocations: 0.6236 MB / 496.2 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02175/0.5147, allocations: 9.336 MB / 0.4937 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.5149, allocations: 15.12 kB / 0.4937 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000954/0.5158, allocations: 259.8 kB / 0.4939 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003604/0.5162, allocations: 317.5 kB / 0.4942 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/0.5328, allocations: 7.96 MB / 0.502 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0485/0.5813, allocations: 28.32 MB / 0.5296 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.5941, allocations: 11.7 MB / 0.5411 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002689/0.5968, allocations: 1.618 MB / 0.5427 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.5971, allocations: 145.3 kB / 0.5428 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.273e-05/0.5972, allocations: 63.84 kB / 0.5429 GB, free: 372 kB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.378e-06/0.5972, allocations: 3.938 kB / 0.5429 GB, free: 368 kB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.008421/0.6056, allocations: 4.172 MB / 0.5469 GB, free: 12.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.6057, allocations: 106.9 kB / 0.547 GB, free: 12.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.6088, allocations: 1.907 MB / 0.5489 GB, free: 10.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.609, allocations: 65.7 kB / 0.549 GB, free: 10.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.611, allocations: 2.643 MB / 0.5515 GB, free: 7.398 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009834/0.612, allocations: 0.8442 MB / 0.5524 GB, free: 6.566 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.6132, allocations: 0.6718 MB / 0.553 GB, free: 5.887 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6133, allocations: 305.1 kB / 0.5533 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.6156, allocations: 1.396 MB / 0.5547 GB, free: 4.188 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003379/0.619, allocations: 2.601 MB / 0.5572 GB, free: 1.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005878/0.6249, allocations: 4.235 MB / 0.5613 GB, free: 12.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.861e-05/0.625, allocations: 12 kB / 0.5614 GB, free: 12.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007773/0.6327, allocations: 4.523 MB / 0.5658 GB, free: 7.766 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.6328, allocations: 22.5 kB / 0.5658 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.905e-05/0.6329, allocations: 40 kB / 0.5658 GB, free: 7.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008392/0.6337, allocations: 312.4 kB / 0.5661 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/0.6367, allocations: 0.7761 MB / 0.5669 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006211/0.6429, allocations: 5.048 MB / 0.5718 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/0.6456, allocations: 421.1 kB / 0.5722 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006742/0.6463, allocations: 164 kB / 0.5724 GB, free: 0.7188 MB / 478.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.00466/0.651, allocations: 2.187 MB / 0.5745 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005782/0.6516, allocations: 226.5 kB / 0.5747 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006301/0.6579, allocations: 3.178 MB / 0.5778 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/0.6579, allocations: 24 kB / 0.5779 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/0.658, allocations: 12 kB / 0.5779 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/0.658, allocations: 15.89 kB / 0.5779 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/0.6791, allocations: 11.76 MB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/0.6792, allocations: 12 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/0.6811, allocations: 439.4 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/0.682, allocations: 281.5 kB / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/0.6823, allocations: 67.98 kB / 0.5901 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006143/0.6884, allocations: 4.988 MB / 0.595 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.741e-05/0.6885, allocations: 19.94 kB / 0.595 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008493/0.697, allocations: 5.006 MB / 0.5999 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.6984, allocations: 0.5419 MB / 0.6004 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005254/0.6989, allocations: 63.98 kB / 0.6005 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/0.7006, allocations: 119.9 kB / 0.6006 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004715/0.7011, allocations: 209.3 kB / 0.6008 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/0.7013, allocations: 83.98 kB / 0.6009 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002541/0.7039, allocations: 1.291 MB / 0.6022 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7039, allocations: 0 / 0.6022 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004523/0.7084, allocations: 1.463 MB / 0.6036 GB, free: 15.81 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.008786/0.7172, allocations: 5.67 MB / 0.6091 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006582/0.7239, allocations: 3.667 MB / 0.6127 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/0.7239, allocations: 4 kB / 0.6127 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002824/0.7267, allocations: 1.689 MB / 0.6144 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/0.7302, allocations: 0.5164 MB / 0.6149 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2558/0.986, allocations: 29 MB / 0.6432 GB, free: 145.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003745/0.9898, allocations: 4.012 MB / 0.6471 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00263/0.9924, allocations: 1.193 MB / 0.6483 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/0.9944, allocations: 1.999 MB / 0.6502 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.9944, allocations: 0 / 0.6502 GB, free: 143.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.095, allocations: 66.2 MB / 0.7149 GB, free: 86.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/15.06, allocations: 4.375 kB / 0.7149 GB, free: 86.73 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.66336205403786]