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.001299/0.001299, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001379/0.001379, allocations: 198.8 kB / 20.73 MB, free: 2.289 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: 225.6 MB / 249.1 MB, free: 3.602 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.001515/0.001515, allocations: 51.92 kB / 365.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.103, allocations: 52.14 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01579/0.1187, allocations: 13.98 MB / 431.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008381/0.1271, allocations: 3.796 MB / 435.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.1293, allocations: 119.4 kB / 435.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01273/0.142, allocations: 5.596 MB / 441.3 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005923/0.1479, allocations: 1.529 MB / 442.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.1511, allocations: 1.066 MB / 443.9 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2283/0.3794, allocations: 6.283 MB / 450.2 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01608/0.3955, allocations: 10.73 MB / 460.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005392/0.4009, allocations: 3.362 MB / 464.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006903/0.4078, allocations: 3.866 MB / 468.1 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00303/0.4108, allocations: 0.8845 MB / 469 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004269/0.4151, allocations: 1.07 MB / 470.1 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002638/0.4177, allocations: 1.768 MB / 471.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008841/0.4266, allocations: 3.735 MB / 475.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.4412, allocations: 11.98 MB / 487.6 MB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4412, allocations: 0 / 487.6 MB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4412, allocations: 0 / 487.6 MB, free: 9.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003696/0.4415, allocations: 7.469 kB / 487.6 MB, free: 9.48 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.02328/0.4648, allocations: 7.899 MB / 495.5 MB, free: 3.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4649, allocations: 8.031 kB / 495.5 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002121/0.467, allocations: 1.05 MB / 496.5 MB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01944/0.4864, allocations: 2.922 MB / 499.4 MB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00907/0.4955, allocations: 3.753 MB / 0.4914 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004392/0.4959, allocations: 484 kB / 0.4919 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002216/0.4981, allocations: 0.6195 MB / 0.4925 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/0.5197, allocations: 9.337 MB / 0.5016 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002183/0.5199, allocations: 15.94 kB / 0.5016 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001639/0.5215, allocations: 264.7 kB / 0.5019 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004098/0.5219, allocations: 317.5 kB / 0.5022 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/0.5405, allocations: 7.962 MB / 0.5099 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05511/0.5957, allocations: 28.32 MB / 0.5376 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.6084, allocations: 11.47 MB / 0.5488 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002551/0.611, allocations: 1.465 MB / 0.5502 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.6112, allocations: 130 kB / 0.5504 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.6113, allocations: 64.56 kB / 0.5504 GB, free: 13.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 3.497e-06/0.6113, allocations: 0 / 0.5504 GB, free: 13.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.008502/0.6198, allocations: 4.156 MB / 0.5545 GB, free: 8.875 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.6199, allocations: 99.11 kB / 0.5546 GB, free: 8.758 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/0.6232, allocations: 1.913 MB / 0.5564 GB, free: 6.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.6233, allocations: 65.7 kB / 0.5565 GB, free: 6.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.6254, allocations: 2.647 MB / 0.5591 GB, free: 4.113 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008146/0.6262, allocations: 0.8439 MB / 0.5599 GB, free: 3.281 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.6273, allocations: 0.664 MB / 0.5606 GB, free: 2.609 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6275, allocations: 309.1 kB / 0.5609 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.6298, allocations: 1.404 MB / 0.5622 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003362/0.6332, allocations: 2.594 MB / 0.5648 GB, free: 13.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005851/0.639, allocations: 4.239 MB / 0.5689 GB, free: 9.184 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-05/0.6391, allocations: 8 kB / 0.5689 GB, free: 9.176 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007743/0.6468, allocations: 4.515 MB / 0.5733 GB, free: 4.883 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.6469, allocations: 20 kB / 0.5733 GB, free: 4.863 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.721e-05/0.647, allocations: 40 kB / 0.5734 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008992/0.6479, allocations: 309.1 kB / 0.5737 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.6505, allocations: 0.7789 MB / 0.5744 GB, free: 3.793 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/0.6567, allocations: 5.043 MB / 0.5794 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/0.6596, allocations: 421.1 kB / 0.5798 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004054/0.66, allocations: 167.9 kB / 0.5799 GB, free: 13.93 MB / 494.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.004026/0.664, allocations: 2.192 MB / 0.5821 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/0.6645, allocations: 226.5 kB / 0.5823 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00592/0.6704, allocations: 3.165 MB / 0.5854 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.6704, allocations: 24 kB / 0.5854 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.6705, allocations: 8 kB / 0.5854 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/0.6705, allocations: 15.89 kB / 0.5854 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/0.691, allocations: 11.74 MB / 0.5969 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-05/0.691, allocations: 16 kB / 0.5969 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/0.6928, allocations: 444.9 kB / 0.5973 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007524/0.6935, allocations: 270.3 kB / 0.5976 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.6937, allocations: 67.98 kB / 0.5976 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006261/0.7, allocations: 5.003 MB / 0.6025 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-05/0.7, allocations: 22.09 kB / 0.6025 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007646/0.7076, allocations: 4.993 MB / 0.6074 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.7088, allocations: 0.538 MB / 0.6079 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/0.7093, allocations: 67.92 kB / 0.608 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.7108, allocations: 119.9 kB / 0.6081 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003633/0.7112, allocations: 211 kB / 0.6083 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/0.7113, allocations: 87.98 kB / 0.6084 GB, free: 80 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00252/0.7139, allocations: 1.291 MB / 0.6097 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7139, allocations: 0 / 0.6097 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00454/0.7184, allocations: 1.459 MB / 0.6111 GB, free: 13.33 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.008102/0.7265, allocations: 5.661 MB / 0.6166 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006131/0.7326, allocations: 3.481 MB / 0.62 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.7326, allocations: 4 kB / 0.62 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002514/0.7352, allocations: 1.587 MB / 0.6216 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/0.7384, allocations: 0.5183 MB / 0.6221 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2581/0.9966, allocations: 28.99 MB / 0.6504 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004793/1.001, allocations: 4.007 MB / 0.6543 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003162/1.005, allocations: 1.196 MB / 0.6555 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/1.007, allocations: 1.991 MB / 0.6574 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/1.007, allocations: 4 kB / 0.6574 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/1.125, allocations: 66.76 MB / 0.7226 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.79, allocations: 11.92 kB / 0.7226 GB, free: 128 MB / 0.5294 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/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: 17.319668133743107]