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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 104 kB / 17.59 MB, free: 5.559 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.001398/0.001398, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.313/1.313, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009396/0.0009396, allocations: 47.42 kB / 301.3 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08341/0.08437, allocations: 49.45 MB / 350.7 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01393/0.09833, allocations: 13.93 MB / 364.7 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0075/0.1059, allocations: 3.769 MB / 368.4 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.1078, allocations: 103.7 kB / 368.5 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1683/0.2762, allocations: 5.556 MB / 374.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.2814, allocations: 1.514 MB / 375.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.2843, allocations: 1.059 MB / 376.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008645/0.293, allocations: 6.238 MB / 382.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01751/0.3105, allocations: 13.71 MB / 396.6 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005724/0.3163, allocations: 3.387 MB / 400 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006199/0.3225, allocations: 3.854 MB / 403.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.3247, allocations: 0.8867 MB / 404.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.3279, allocations: 1.067 MB / 405.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001858/0.3298, allocations: 1.767 MB / 407.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004997/0.3348, allocations: 3.566 MB / 411.1 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.3459, allocations: 11.87 MB / 423 MB, free: 9.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.346, allocations: 0 / 423 MB, free: 9.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.346, allocations: 0 / 423 MB, free: 9.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002774/0.3462, allocations: 0 / 423 MB, free: 9.828 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.02032/0.3666, allocations: 7.773 MB / 430.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3666, allocations: 15.83 kB / 430.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01916/0.3858, allocations: 2.888 MB / 433.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007081/0.3929, allocations: 3.612 MB / 437.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004696/0.3934, allocations: 486.3 kB / 437.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/0.3955, allocations: 0.62 MB / 438.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01992/0.4154, allocations: 9.315 MB / 447.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001717/0.4156, allocations: 11.91 kB / 447.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.4166, allocations: 262.9 kB / 448 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003073/0.4169, allocations: 309.4 kB / 448.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/0.4327, allocations: 7.958 MB / 456.2 MB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04412/0.4768, allocations: 28.56 MB / 484.8 MB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.4886, allocations: 11.7 MB / 496.5 MB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002708/0.4913, allocations: 1.61 MB / 498.1 MB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.4916, allocations: 136.7 kB / 498.2 MB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.4916, allocations: 64.55 kB / 498.3 MB, free: 12.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.178e-06/0.4917, allocations: 0 / 498.3 MB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007909/0.4996, allocations: 4.176 MB / 0.4907 GB, free: 7.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.4997, allocations: 103.1 kB / 0.4908 GB, free: 7.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/0.5023, allocations: 1.899 MB / 0.4927 GB, free: 5.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002431/0.5025, allocations: 73.7 kB / 0.4927 GB, free: 5.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.5039, allocations: 2.533 MB / 0.4952 GB, free: 3.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007068/0.5047, allocations: 0.8147 MB / 0.496 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009158/0.5056, allocations: 0.6598 MB / 0.4966 GB, free: 1.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.5057, allocations: 301.1 kB / 0.4969 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.5077, allocations: 1.404 MB / 0.4983 GB, free: 68 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.5104, allocations: 2.596 MB / 0.5008 GB, free: 12.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004924/0.5154, allocations: 4.233 MB / 0.505 GB, free: 8.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-05/0.5154, allocations: 12 kB / 0.505 GB, free: 8.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006903/0.5223, allocations: 4.518 MB / 0.5094 GB, free: 3.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.5224, allocations: 23.94 kB / 0.5094 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.935e-05/0.5225, allocations: 36 kB / 0.5094 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007738/0.5233, allocations: 321.7 kB / 0.5097 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/0.5261, allocations: 0.7722 MB / 0.5105 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005387/0.5315, allocations: 5.044 MB / 0.5154 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.5342, allocations: 416 kB / 0.5158 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.5347, allocations: 160 kB / 0.516 GB, free: 12.6 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.003993/0.5387, allocations: 2.191 MB / 0.5181 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/0.5392, allocations: 213.3 kB / 0.5183 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005423/0.5446, allocations: 3.185 MB / 0.5214 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.5446, allocations: 24 kB / 0.5215 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.5447, allocations: 4 kB / 0.5215 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.5447, allocations: 11.95 kB / 0.5215 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1913/0.736, allocations: 11.77 MB / 0.533 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/0.7361, allocations: 13.97 kB / 0.533 GB, free: 140 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.7378, allocations: 439.6 kB / 0.5334 GB, free: 139.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007171/0.7385, allocations: 277.8 kB / 0.5337 GB, free: 139.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.7387, allocations: 66.48 kB / 0.5337 GB, free: 139.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004658/0.7434, allocations: 4.982 MB / 0.5386 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-05/0.7434, allocations: 24 kB / 0.5386 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006919/0.7503, allocations: 4.994 MB / 0.5435 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.7515, allocations: 0.5345 MB / 0.544 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/0.7518, allocations: 62.3 kB / 0.5441 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.7532, allocations: 120.5 kB / 0.5442 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000383/0.7536, allocations: 203.6 kB / 0.5444 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.7537, allocations: 85.98 kB / 0.5445 GB, free: 133.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002004/0.7557, allocations: 1.299 MB / 0.5457 GB, free: 132.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.112e-06/0.7557, allocations: 0 / 0.5457 GB, free: 132.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004131/0.7599, allocations: 1.43 MB / 0.5471 GB, free: 132.2 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.0005627/0.7605, allocations: 219.5 kB / 0.5473 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007049/0.7675, allocations: 4.166 MB / 0.5514 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.088e-05/0.7676, allocations: 6.469 kB / 0.5514 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.77, allocations: 1.683 MB / 0.5531 GB, free: 129.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/0.7732, allocations: 0.5138 MB / 0.5536 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.7884, allocations: 9.878 MB / 0.5632 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003422/0.7919, allocations: 3.895 MB / 0.567 GB, free: 123.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009484/0.7929, allocations: 225.9 kB / 0.5672 GB, free: 123.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.7929, allocations: 0 / 0.5672 GB, free: 123.4 MB / 446.1 MB Notification: Performance of Templates: time 0.1198/0.9127, allocations: 123.7 MB / 0.688 GB, free: 2.391 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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