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.001889/0.001889, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002172/0.002172, allocations: 210.2 kB / 23.73 MB, free: 4.387 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001631/0.001631, allocations: 51.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2349, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0155/0.2504, allocations: 12 MB / 443.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007998/0.2584, allocations: 3.709 MB / 446.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.2597, allocations: 115.5 kB / 446.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01232/0.2721, allocations: 5.165 MB / 452.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004817/0.2769, allocations: 1.394 MB / 453.5 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.28, allocations: 1.186 MB / 454.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008375/0.2884, allocations: 6.489 MB / 461.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01486/0.3032, allocations: 9.068 MB / 470.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.3079, allocations: 3.355 MB / 473.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006193/0.314, allocations: 3.729 MB / 477.3 MB, free: 8.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.3162, allocations: 0.8867 MB / 478.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.319, allocations: 1.078 MB / 479.3 MB, free: 6.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001952/0.3209, allocations: 1.773 MB / 481 MB, free: 4.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004437/0.3254, allocations: 2.798 MB / 483.8 MB, free: 1.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.3387, allocations: 12.05 MB / 495.9 MB, free: 5.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.3387, allocations: 0 / 495.9 MB, free: 5.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3387, allocations: 0 / 495.9 MB, free: 5.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003062/0.339, allocations: 0 / 495.9 MB, free: 5.547 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.02118/0.3602, allocations: 7.834 MB / 0.4919 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.3602, allocations: 12.03 kB / 0.4919 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002707/0.3629, allocations: 1.043 MB / 0.4929 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/0.383, allocations: 2.885 MB / 0.4958 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009589/0.3926, allocations: 3.748 MB / 0.4994 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005513/0.3932, allocations: 485.1 kB / 0.4999 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.3953, allocations: 0.621 MB / 0.5005 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.4182, allocations: 9.516 MB / 0.5098 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002468/0.4185, allocations: 11.94 kB / 0.5098 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001572/0.42, allocations: 264 kB / 0.51 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003719/0.4204, allocations: 313.5 kB / 0.5103 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.4381, allocations: 7.962 MB / 0.5181 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2467/0.6847, allocations: 25.19 MB / 0.5427 GB, free: 85.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007017/0.6917, allocations: 3.917 MB / 0.5465 GB, free: 84.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.6936, allocations: 1.451 MB / 0.548 GB, free: 84.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.6938, allocations: 69.17 kB / 0.548 GB, free: 84.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.6939, allocations: 55.03 kB / 0.5481 GB, free: 84.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.19e-06/0.6939, allocations: 0 / 0.5481 GB, free: 84.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006459/0.7003, allocations: 4.042 MB / 0.552 GB, free: 83.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.7004, allocations: 102.2 kB / 0.5521 GB, free: 83.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.7024, allocations: 1.979 MB / 0.5541 GB, free: 83.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.7026, allocations: 64.73 kB / 0.5541 GB, free: 83.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009464/0.7035, allocations: 2.644 MB / 0.5567 GB, free: 81.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004201/0.7039, allocations: 0.8529 MB / 0.5575 GB, free: 80.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007046/0.7046, allocations: 0.6741 MB / 0.5582 GB, free: 80.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.286e-05/0.7047, allocations: 303 kB / 0.5585 GB, free: 80.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.7063, allocations: 1.403 MB / 0.5599 GB, free: 79.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.7083, allocations: 2.598 MB / 0.5624 GB, free: 77.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/0.712, allocations: 4.248 MB / 0.5665 GB, free: 74.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.282e-05/0.7121, allocations: 12 kB / 0.5666 GB, free: 74.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005534/0.7176, allocations: 4.546 MB / 0.571 GB, free: 70 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.7176, allocations: 23.94 kB / 0.571 GB, free: 69.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/0.7177, allocations: 40 kB / 0.5711 GB, free: 69.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006623/0.7183, allocations: 307.2 kB / 0.5713 GB, free: 69.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.7207, allocations: 0.78 MB / 0.5721 GB, free: 68.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003833/0.7245, allocations: 4.794 MB / 0.5768 GB, free: 63.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.7265, allocations: 417.1 kB / 0.5772 GB, free: 63.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/0.7267, allocations: 168 kB / 0.5773 GB, free: 63.28 MB / 446.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.002478/0.7292, allocations: 2.184 MB / 0.5795 GB, free: 61.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.7295, allocations: 230.6 kB / 0.5797 GB, free: 60.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/0.7336, allocations: 3.166 MB / 0.5828 GB, free: 57.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.7336, allocations: 24 kB / 0.5828 GB, free: 57.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.7336, allocations: 8 kB / 0.5828 GB, free: 57.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.7336, allocations: 11.95 kB / 0.5828 GB, free: 57.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.747, allocations: 10.75 MB / 0.5933 GB, free: 46.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.747, allocations: 15.28 kB / 0.5933 GB, free: 46.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.7485, allocations: 447.3 kB / 0.5938 GB, free: 46.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005604/0.7491, allocations: 272.9 kB / 0.594 GB, free: 45.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.7492, allocations: 71.98 kB / 0.5941 GB, free: 45.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.753, allocations: 4.719 MB / 0.5987 GB, free: 40.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/0.753, allocations: 27.81 kB / 0.5987 GB, free: 40.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005167/0.7581, allocations: 5.011 MB / 0.6036 GB, free: 35.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.7591, allocations: 477.8 kB / 0.6041 GB, free: 35.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.7594, allocations: 67.92 kB / 0.6042 GB, free: 35.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.7606, allocations: 128 kB / 0.6043 GB, free: 35.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.7609, allocations: 213.2 kB / 0.6045 GB, free: 34.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.761, allocations: 87.98 kB / 0.6046 GB, free: 34.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001321/0.7623, allocations: 1.292 MB / 0.6058 GB, free: 33.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7623, allocations: 0 / 0.6058 GB, free: 33.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003248/0.7655, allocations: 1.459 MB / 0.6072 GB, free: 31.97 MB / 446.1 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.005659/0.7712, allocations: 5.683 MB / 0.6128 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004435/0.7756, allocations: 3.499 MB / 0.6162 GB, free: 22.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/0.7756, allocations: 0 / 0.6162 GB, free: 22.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.7774, allocations: 1.6 MB / 0.6178 GB, free: 20.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.7799, allocations: 0.5094 MB / 0.6183 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03767/0.8176, allocations: 29.09 MB / 0.6467 GB, free: 5.531 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004357/0.822, allocations: 3.498 MB / 0.6501 GB, free: 1.992 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00318/0.8251, allocations: 1.195 MB / 0.6513 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002786/0.8279, allocations: 2.015 MB / 0.6532 GB, free: 14.82 MB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.8279, allocations: 0 / 0.6532 GB, free: 14.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1373/0.9652, allocations: 68.71 MB / 0.7203 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.88, allocations: 7.031 kB / 0.7203 GB, free: 10.55 MB / 0.5294 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.442227120976895]