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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 106.1 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 43.94 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2781, allocations: 49.44 MB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01477/0.293, allocations: 13.92 MB / 414.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008678/0.3017, allocations: 3.777 MB / 417.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.3045, allocations: 99.75 kB / 418 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.3164, allocations: 5.574 MB / 423.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005281/0.3217, allocations: 1.499 MB / 425.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.325, allocations: 1.069 MB / 426.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00788/0.3329, allocations: 6.285 MB / 432.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01876/0.3516, allocations: 13.65 MB / 446.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004605/0.3563, allocations: 3.296 MB / 449.4 MB, free: 7.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006027/0.3623, allocations: 3.851 MB / 453.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002136/0.3645, allocations: 0.8867 MB / 454.2 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/0.3678, allocations: 1.07 MB / 455.2 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.3704, allocations: 1.773 MB / 457 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006082/0.3765, allocations: 3.564 MB / 460.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.3905, allocations: 11.94 MB / 472.5 MB, free: 236 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3905, allocations: 0 / 472.5 MB, free: 236 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3905, allocations: 0 / 472.5 MB, free: 236 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004534/0.391, allocations: 0 / 472.5 MB, free: 236 kB / 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.0221/0.4131, allocations: 7.781 MB / 480.3 MB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4132, allocations: 8.031 kB / 480.3 MB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002481/0.4157, allocations: 1.043 MB / 481.3 MB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/0.4342, allocations: 2.889 MB / 484.2 MB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008542/0.4427, allocations: 3.741 MB / 488 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003857/0.4432, allocations: 485.1 kB / 488.4 MB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001883/0.4451, allocations: 0.6249 MB / 489.1 MB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/0.464, allocations: 9.339 MB / 498.4 MB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.4642, allocations: 7.906 kB / 498.4 MB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006852/0.4649, allocations: 268 kB / 498.7 MB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002757/0.4652, allocations: 313.5 kB / 499 MB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/0.4792, allocations: 7.966 MB / 0.4951 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04218/0.5214, allocations: 28.24 MB / 0.5226 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.5324, allocations: 11.7 MB / 0.5341 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.5349, allocations: 1.627 MB / 0.5357 GB, free: 1.445 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.5351, allocations: 135 kB / 0.5358 GB, free: 1.293 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.5352, allocations: 60.56 kB / 0.5358 GB, free: 1.227 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.829e-06/0.5352, allocations: 4 kB / 0.5358 GB, free: 1.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.2133/0.7485, allocations: 4.161 MB / 0.5399 GB, free: 124.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.7485, allocations: 102.9 kB / 0.54 GB, free: 124.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.7508, allocations: 1.901 MB / 0.5419 GB, free: 124.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.751, allocations: 65.36 kB / 0.5419 GB, free: 124.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.7521, allocations: 2.553 MB / 0.5444 GB, free: 122.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.7525, allocations: 0.8062 MB / 0.5452 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007529/0.7533, allocations: 0.6696 MB / 0.5459 GB, free: 121.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.7533, allocations: 301.1 kB / 0.5461 GB, free: 121.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.755, allocations: 1.399 MB / 0.5475 GB, free: 120.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.7572, allocations: 2.598 MB / 0.5501 GB, free: 118.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003808/0.761, allocations: 4.235 MB / 0.5542 GB, free: 115.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-05/0.761, allocations: 11.53 kB / 0.5542 GB, free: 115.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005787/0.7668, allocations: 4.517 MB / 0.5586 GB, free: 114 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.7669, allocations: 19.03 kB / 0.5586 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/0.7669, allocations: 38.94 kB / 0.5587 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007142/0.7676, allocations: 318.5 kB / 0.559 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.77, allocations: 0.7735 MB / 0.5597 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/0.774, allocations: 5.046 MB / 0.5647 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.7763, allocations: 410.8 kB / 0.565 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/0.7765, allocations: 163.6 kB / 0.5652 GB, free: 108.8 MB / 462.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.002617/0.7792, allocations: 2.185 MB / 0.5673 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.7795, allocations: 205.5 kB / 0.5675 GB, free: 106.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/0.7837, allocations: 3.185 MB / 0.5706 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.7838, allocations: 28 kB / 0.5707 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.7838, allocations: 4.5 kB / 0.5707 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.7838, allocations: 11.95 kB / 0.5707 GB, free: 104 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.7975, allocations: 11.76 MB / 0.5822 GB, free: 91.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.7975, allocations: 16 kB / 0.5822 GB, free: 91.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.799, allocations: 440.1 kB / 0.5826 GB, free: 91.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005963/0.7996, allocations: 273.6 kB / 0.5829 GB, free: 91.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.7998, allocations: 71.98 kB / 0.5829 GB, free: 91.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.8036, allocations: 4.989 MB / 0.5878 GB, free: 85.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.8036, allocations: 19.94 kB / 0.5878 GB, free: 85.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005151/0.8088, allocations: 5.001 MB / 0.5927 GB, free: 80.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.8098, allocations: 0.5251 MB / 0.5932 GB, free: 79.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.8101, allocations: 59.98 kB / 0.5933 GB, free: 79.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.8113, allocations: 123.9 kB / 0.5934 GB, free: 79.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.8116, allocations: 201.3 kB / 0.5936 GB, free: 79.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.8117, allocations: 83.98 kB / 0.5937 GB, free: 79.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001412/0.8131, allocations: 1.294 MB / 0.5949 GB, free: 78.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8131, allocations: 4 kB / 0.5949 GB, free: 78.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003175/0.8163, allocations: 1.426 MB / 0.5963 GB, free: 76.79 MB / 462.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.005488/0.8218, allocations: 5.67 MB / 0.6019 GB, free: 70.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004653/0.8265, allocations: 3.659 MB / 0.6054 GB, free: 67.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.8265, allocations: 4 kB / 0.6054 GB, free: 67.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.8284, allocations: 1.697 MB / 0.6071 GB, free: 65.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.8311, allocations: 0.5078 MB / 0.6076 GB, free: 65.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03348/0.8646, allocations: 28.85 MB / 0.6358 GB, free: 34.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/0.8677, allocations: 4.012 MB / 0.6397 GB, free: 30.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002502/0.8702, allocations: 1.191 MB / 0.6408 GB, free: 29.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/0.872, allocations: 1.991 MB / 0.6428 GB, free: 27.13 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.872, allocations: 0 / 0.6428 GB, free: 27.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09776/0.9698, allocations: 66.31 MB / 0.7075 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.35, allocations: 12.05 kB / 0.7076 GB, free: 9.125 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/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) Reference file matches