Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008711/0.0008711, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.896/0.896, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.339e-05, allocations: 3.406 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009088/0.009111, allocations: 12.01 MB / 336.5 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005997/0.01511, allocations: 3.714 MB / 340.3 MB, free: 80 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.01638, allocations: 111.5 kB / 340.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00516/0.02154, allocations: 5.491 MB / 345.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002832/0.02437, allocations: 1.423 MB / 347.3 MB, free: 9.039 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.026, allocations: 1.183 MB / 348.5 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005335/0.03134, allocations: 6.667 MB / 355.1 MB, free: 1.168 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008583/0.03992, allocations: 9.096 MB / 364.2 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.04413, allocations: 4.93 MB / 369.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/0.04727, allocations: 3.349 MB / 372.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.04832, allocations: 0.8867 MB / 373.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.04945, allocations: 1.085 MB / 374.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000928/0.05037, allocations: 1.804 MB / 376.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.05202, allocations: 2.39 MB / 378.7 MB, free: 9.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006727/0.05875, allocations: 12.12 MB / 390.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.05875, allocations: 0 / 390.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.05876, allocations: 4 kB / 390.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001671/0.05892, allocations: 4 kB / 390.8 MB, free: 13.31 MB / 362.7 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.01035/0.06927, allocations: 7.771 MB / 398.6 MB, free: 5.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.06932, allocations: 11.98 kB / 398.6 MB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001064/0.07038, allocations: 1.054 MB / 399.6 MB, free: 4.402 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008938/0.07932, allocations: 2.881 MB / 402.5 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/0.08331, allocations: 3.76 MB / 406.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.08353, allocations: 481.1 kB / 406.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006173/0.08414, allocations: 0.6288 MB / 407.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009707/0.09385, allocations: 9.505 MB / 416.9 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-05/0.09395, allocations: 11.94 kB / 416.9 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004345/0.09438, allocations: 264 kB / 417.2 MB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/0.09457, allocations: 317.5 kB / 417.5 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008397/0.103, allocations: 7.958 MB / 425.4 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02981/0.1328, allocations: 25.23 MB / 450.6 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1574/0.2902, allocations: 3.916 MB / 454.6 MB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.2918, allocations: 1.455 MB / 456 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.2919, allocations: 66.75 kB / 456.1 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.292, allocations: 64.97 kB / 456.1 MB, free: 106.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 4.659e-06/0.292, allocations: 0 / 456.1 MB, free: 106.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.004382/0.2964, allocations: 4.028 MB / 460.2 MB, free: 105.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.2964, allocations: 98.64 kB / 460.3 MB, free: 105.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.298, allocations: 1.979 MB / 462.2 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.254e-05/0.2981, allocations: 61.64 kB / 462.3 MB, free: 104.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/0.2988, allocations: 2.64 MB / 464.9 MB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.2991, allocations: 0.8384 MB / 465.8 MB, free: 102.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005393/0.2996, allocations: 0.6764 MB / 466.5 MB, free: 102.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.57e-05/0.2996, allocations: 305.1 kB / 466.8 MB, free: 101.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3008, allocations: 1.405 MB / 468.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.3022, allocations: 2.605 MB / 470.8 MB, free: 99.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/0.3048, allocations: 4.236 MB / 475 MB, free: 94.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.3049, allocations: 12 kB / 475 MB, free: 94.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003797/0.3087, allocations: 4.535 MB / 479.6 MB, free: 90.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.3087, allocations: 20 kB / 479.6 MB, free: 90.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.3087, allocations: 40 kB / 479.6 MB, free: 90.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/0.3092, allocations: 306.1 kB / 479.9 MB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.3105, allocations: 0.7864 MB / 480.7 MB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.3133, allocations: 4.783 MB / 485.5 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.3145, allocations: 420 kB / 485.9 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.3147, allocations: 168 kB / 486.1 MB, free: 83.95 MB / 410.7 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.002132/0.3168, allocations: 2.187 MB / 488.2 MB, free: 81.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.317, allocations: 222.6 kB / 488.5 MB, free: 81.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/0.3198, allocations: 3.162 MB / 491.6 MB, free: 78.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.3198, allocations: 31.94 kB / 491.7 MB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.3198, allocations: 4 kB / 491.7 MB, free: 78.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.3198, allocations: 11.95 kB / 491.7 MB, free: 78.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009443/0.3293, allocations: 10.76 MB / 0.4907 GB, free: 67.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.3293, allocations: 16 kB / 0.4907 GB, free: 67.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008155/0.3301, allocations: 435.4 kB / 0.4911 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003671/0.3305, allocations: 282.1 kB / 0.4914 GB, free: 66.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.404e-05/0.3306, allocations: 67.98 kB / 0.4914 GB, free: 66.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.3331, allocations: 4.723 MB / 0.496 GB, free: 61.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.3331, allocations: 19.94 kB / 0.496 GB, free: 61.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/0.3369, allocations: 4.983 MB / 0.5009 GB, free: 56.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006406/0.3375, allocations: 488.6 kB / 0.5014 GB, free: 55.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.3377, allocations: 59.98 kB / 0.5014 GB, free: 55.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.3383, allocations: 119.9 kB / 0.5016 GB, free: 55.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.3386, allocations: 217.2 kB / 0.5018 GB, free: 55.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.3386, allocations: 83.98 kB / 0.5018 GB, free: 55.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001101/0.3397, allocations: 1.302 MB / 0.5031 GB, free: 54.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3397, allocations: 0 / 0.5031 GB, free: 54.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00247/0.3422, allocations: 1.456 MB / 0.5045 GB, free: 52.67 MB / 410.7 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.003931/0.3461, allocations: 5.663 MB / 0.5101 GB, free: 46.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.3494, allocations: 3.487 MB / 0.5135 GB, free: 43.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.3494, allocations: 4.438 kB / 0.5135 GB, free: 43.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.3507, allocations: 1.6 MB / 0.515 GB, free: 41.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.3522, allocations: 0.5128 MB / 0.5155 GB, free: 41.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/0.3808, allocations: 29.01 MB / 0.5439 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.3833, allocations: 3.498 MB / 0.5473 GB, free: 6.785 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001891/0.3852, allocations: 1.195 MB / 0.5484 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.3866, allocations: 2.008 MB / 0.5504 GB, free: 3.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3866, allocations: 0 / 0.5504 GB, free: 3.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2322/0.6188, allocations: 68.66 MB / 0.6175 GB, free: 139.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.745/9.364, allocations: 4 kB / 0.6175 GB, free: 139.9 MB / 474.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! Error: Could not read variable resistor2_3.pin_p.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.155300001613796]