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.001509/0.001509, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.001086/0.001087, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 52.52 kB / 300.1 MB, free: 6.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09156/0.09264, allocations: 49.45 MB / 349.5 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01398/0.1067, allocations: 13.71 MB / 363.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008416/0.1151, allocations: 3.773 MB / 367 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.1177, allocations: 99.69 kB / 367.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1746/0.2924, allocations: 5.272 MB / 372.4 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004411/0.2968, allocations: 1.356 MB / 373.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.2993, allocations: 0.9896 MB / 374.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006489/0.3058, allocations: 6.09 MB / 380.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01505/0.3208, allocations: 11.48 MB / 392.3 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.3251, allocations: 2.98 MB / 395.3 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005454/0.3306, allocations: 3.788 MB / 399 MB, free: 0 / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002892/0.3336, allocations: 0.7703 MB / 399.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.3365, allocations: 0.869 MB / 400.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001453/0.338, allocations: 1.562 MB / 402.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004427/0.3424, allocations: 3.357 MB / 405.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.3532, allocations: 11.72 MB / 417.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3532, allocations: 0 / 417.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.3532, allocations: 4 kB / 417.3 MB, free: 14.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002854/0.3535, allocations: 3.938 kB / 417.3 MB, free: 14.26 MB / 334.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.01984/0.3734, allocations: 7.807 MB / 425.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3734, allocations: 8.031 kB / 425.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00182/0.3753, allocations: 1.042 MB / 426.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01861/0.3939, allocations: 2.891 MB / 429.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007385/0.4013, allocations: 3.62 MB / 432.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000437/0.4018, allocations: 480 kB / 433.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/0.4038, allocations: 0.6208 MB / 433.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02179/0.4256, allocations: 9.348 MB / 443.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.4258, allocations: 15.89 kB / 443.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006927/0.4265, allocations: 261.2 kB / 443.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003279/0.4268, allocations: 325.5 kB / 443.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.4417, allocations: 7.959 MB / 451.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04279/0.4845, allocations: 28.6 MB / 480.3 MB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.4953, allocations: 11.71 MB / 492 MB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.4977, allocations: 1.621 MB / 493.6 MB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.498, allocations: 136.5 kB / 493.7 MB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.498, allocations: 56.56 kB / 493.8 MB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.167e-06/0.498, allocations: 0 / 493.8 MB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007898/0.506, allocations: 4.169 MB / 498 MB, free: 11.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.506, allocations: 103 kB / 498.1 MB, free: 11.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/0.5087, allocations: 1.903 MB / 500 MB, free: 9.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.5089, allocations: 65.7 kB / 0.4883 GB, free: 9.062 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/0.5104, allocations: 2.55 MB / 0.4908 GB, free: 6.492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006569/0.5111, allocations: 0.8084 MB / 0.4916 GB, free: 5.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009099/0.512, allocations: 0.6598 MB / 0.4922 GB, free: 5.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.5121, allocations: 305.1 kB / 0.4925 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/0.5141, allocations: 1.408 MB / 0.4939 GB, free: 3.312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/0.5169, allocations: 2.598 MB / 0.4964 GB, free: 192 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004934/0.5218, allocations: 4.238 MB / 0.5006 GB, free: 11.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/0.5219, allocations: 8 kB / 0.5006 GB, free: 11.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00669/0.5286, allocations: 4.515 MB / 0.505 GB, free: 6.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.5286, allocations: 20 kB / 0.505 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.038e-05/0.5287, allocations: 44.06 kB / 0.5051 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007874/0.5295, allocations: 317.3 kB / 0.5054 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/0.5322, allocations: 0.7722 MB / 0.5061 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005221/0.5374, allocations: 4.62 MB / 0.5106 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.5396, allocations: 412 kB / 0.511 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/0.5399, allocations: 160 kB / 0.5112 GB, free: 280 kB / 430.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.003429/0.5433, allocations: 2.187 MB / 0.5133 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004085/0.5437, allocations: 213.3 kB / 0.5135 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005158/0.5489, allocations: 3.182 MB / 0.5166 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.549, allocations: 28 kB / 0.5166 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.549, allocations: 4 kB / 0.5166 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.549, allocations: 11.95 kB / 0.5167 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2045/0.7535, allocations: 11.78 MB / 0.5282 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/0.7535, allocations: 16.5 kB / 0.5282 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/0.7554, allocations: 438 kB / 0.5286 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009302/0.7564, allocations: 275.8 kB / 0.5289 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.7566, allocations: 67.03 kB / 0.5289 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.7611, allocations: 4.569 MB / 0.5334 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.896e-05/0.7612, allocations: 23 kB / 0.5334 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006796/0.768, allocations: 4.99 MB / 0.5383 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.7691, allocations: 0.5331 MB / 0.5388 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/0.7694, allocations: 65.88 kB / 0.5389 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.7707, allocations: 120.6 kB / 0.539 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/0.7711, allocations: 208.3 kB / 0.5392 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.7713, allocations: 84.64 kB / 0.5393 GB, free: 133.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001914/0.7732, allocations: 1.292 MB / 0.5405 GB, free: 132.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7732, allocations: 1.125 kB / 0.5405 GB, free: 132.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003737/0.7769, allocations: 1.437 MB / 0.5419 GB, free: 132.4 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.006848/0.7838, allocations: 5.662 MB / 0.5475 GB, free: 129.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005224/0.789, allocations: 3.624 MB / 0.551 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.7891, allocations: 0 / 0.551 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.7913, allocations: 1.685 MB / 0.5526 GB, free: 127.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.7942, allocations: 499.3 kB / 0.5531 GB, free: 127 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03878/0.833, allocations: 33.12 MB / 0.5855 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00332/0.8363, allocations: 4.01 MB / 0.5894 GB, free: 98.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002905/0.8392, allocations: 1.191 MB / 0.5905 GB, free: 97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/0.8412, allocations: 1.999 MB / 0.5925 GB, free: 95 MB / 446.1 MB Notification: Performance of SimCode: time 1.542e-06/0.8412, allocations: 0 / 0.5925 GB, free: 95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08094/0.9222, allocations: 63.16 MB / 0.6542 GB, free: 32.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.9223, allocations: 248 kB / 0.6544 GB, free: 31.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/3.88, allocations: 0 / 0.6544 GB, free: 31.91 MB / 446.1 MB (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