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.001436/0.001436, allocations: 112 kB / 20.43 MB, free: 1.449 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.001503/0.001503, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.456/1.456, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.001599/0.001599, allocations: 55.91 kB / 370.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2686, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01732/0.2859, allocations: 14.01 MB / 436.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009663/0.2956, allocations: 3.8 MB / 440.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002886/0.2985, allocations: 119.4 kB / 440.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0131/0.3116, allocations: 5.615 MB / 446.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.3174, allocations: 1.57 MB / 447.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.3206, allocations: 1.083 MB / 448.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00959/0.3302, allocations: 6.401 MB / 455.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.015/0.3452, allocations: 9.139 MB / 464.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004782/0.35, allocations: 3.367 MB / 467.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006165/0.3561, allocations: 3.882 MB / 471.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.3583, allocations: 0.8867 MB / 472.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.3614, allocations: 1.074 MB / 473.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001958/0.3634, allocations: 1.769 MB / 475.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004891/0.3683, allocations: 3.571 MB / 478.9 MB, free: 6.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.3826, allocations: 11.97 MB / 490.9 MB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3826, allocations: 0 / 490.9 MB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3826, allocations: 0 / 490.9 MB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003393/0.383, allocations: 0 / 490.9 MB, free: 10.04 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.02191/0.4049, allocations: 7.841 MB / 498.7 MB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4049, allocations: 12.03 kB / 498.8 MB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002766/0.4077, allocations: 1.047 MB / 499.8 MB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01854/0.4262, allocations: 2.916 MB / 0.4909 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009697/0.4359, allocations: 3.74 MB / 0.4946 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005182/0.4364, allocations: 485.1 kB / 0.495 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002948/0.4394, allocations: 0.6249 MB / 0.4957 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02593/0.4653, allocations: 9.342 MB / 0.5048 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002468/0.4656, allocations: 11.95 kB / 0.5048 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/0.4671, allocations: 264 kB / 0.505 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003767/0.4675, allocations: 313.5 kB / 0.5053 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.4853, allocations: 7.962 MB / 0.5131 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2771/0.7624, allocations: 27.4 MB / 0.5399 GB, free: 90.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007318/0.7697, allocations: 3.942 MB / 0.5437 GB, free: 90.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.772, allocations: 1.451 MB / 0.5452 GB, free: 90.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.7722, allocations: 55.05 kB / 0.5452 GB, free: 90.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.7722, allocations: 59.44 kB / 0.5453 GB, free: 90.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.489e-06/0.7722, allocations: 0 / 0.5453 GB, free: 90.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.007013/0.7792, allocations: 4.015 MB / 0.5492 GB, free: 90.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.7793, allocations: 105 kB / 0.5493 GB, free: 89.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.7818, allocations: 1.898 MB / 0.5511 GB, free: 89.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.7819, allocations: 68.08 kB / 0.5512 GB, free: 89.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.7829, allocations: 2.639 MB / 0.5538 GB, free: 88.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/0.7834, allocations: 0.8636 MB / 0.5546 GB, free: 87.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007277/0.7841, allocations: 0.6584 MB / 0.5553 GB, free: 87.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.7842, allocations: 304.9 kB / 0.5556 GB, free: 87.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.7858, allocations: 1.4 MB / 0.5569 GB, free: 86.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.7877, allocations: 2.599 MB / 0.5595 GB, free: 84.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.7913, allocations: 4.23 MB / 0.5636 GB, free: 81.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.7913, allocations: 12.19 kB / 0.5636 GB, free: 81.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005654/0.797, allocations: 4.518 MB / 0.568 GB, free: 79.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.797, allocations: 20.69 kB / 0.568 GB, free: 79.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.7971, allocations: 38.53 kB / 0.5681 GB, free: 79.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/0.7978, allocations: 324.3 kB / 0.5684 GB, free: 79.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.8002, allocations: 0.7756 MB / 0.5691 GB, free: 78.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.8042, allocations: 4.831 MB / 0.5739 GB, free: 73.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.8066, allocations: 423.9 kB / 0.5743 GB, free: 73.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.8069, allocations: 164 kB / 0.5744 GB, free: 73.01 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.002909/0.8098, allocations: 2.183 MB / 0.5765 GB, free: 70.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004153/0.8102, allocations: 218.6 kB / 0.5768 GB, free: 70.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/0.8149, allocations: 3.174 MB / 0.5799 GB, free: 67.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.8149, allocations: 27.19 kB / 0.5799 GB, free: 67.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.815, allocations: 4 kB / 0.5799 GB, free: 67.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.815, allocations: 15.95 kB / 0.5799 GB, free: 67.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.83, allocations: 10.95 MB / 0.5906 GB, free: 56.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.83, allocations: 12 kB / 0.5906 GB, free: 56.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.8316, allocations: 439.3 kB / 0.591 GB, free: 55.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006055/0.8322, allocations: 276.7 kB / 0.5913 GB, free: 55.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.8323, allocations: 67.98 kB / 0.5914 GB, free: 55.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.8363, allocations: 4.773 MB / 0.596 GB, free: 50.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.8363, allocations: 19.94 kB / 0.596 GB, free: 50.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005993/0.8423, allocations: 5.003 MB / 0.6009 GB, free: 45.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.8436, allocations: 481.8 kB / 0.6014 GB, free: 44.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/0.8439, allocations: 68.05 kB / 0.6014 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.8452, allocations: 119.9 kB / 0.6016 GB, free: 44.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/0.8455, allocations: 217.2 kB / 0.6018 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.8456, allocations: 83.98 kB / 0.6018 GB, free: 44.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001521/0.8471, allocations: 1.297 MB / 0.6031 GB, free: 42.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8471, allocations: 0 / 0.6031 GB, free: 42.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004058/0.8512, allocations: 1.456 MB / 0.6045 GB, free: 41.49 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.005702/0.8569, allocations: 5.663 MB / 0.6101 GB, free: 35.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004669/0.8616, allocations: 3.49 MB / 0.6135 GB, free: 32.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/0.8616, allocations: 0 / 0.6135 GB, free: 32.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.8634, allocations: 1.59 MB / 0.615 GB, free: 30.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.866, allocations: 0.521 MB / 0.6155 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04147/0.9074, allocations: 29.09 MB / 0.6439 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004602/0.912, allocations: 4.004 MB / 0.6478 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003209/0.9152, allocations: 1.201 MB / 0.649 GB, free: 9.832 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002809/0.918, allocations: 1.995 MB / 0.651 GB, free: 7.836 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/0.9181, allocations: 0 / 0.651 GB, free: 7.836 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/1.076, allocations: 69.64 MB / 0.719 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/16.94, allocations: 0 / 0.719 GB, free: 2.441 MB / 0.5137 GB " [Timeout remaining time 643] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 19.521079202000692]