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.0007775/0.0007771, allocations: 92.03 kB / 16.65 MB, free: 6.586 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.000885/0.000885, allocations: 182 kB / 17.56 MB, free: 6.203 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.318/1.318, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003114, allocations: 7.938 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08516/0.08549, allocations: 50.41 MB / 351.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01197/0.0975, allocations: 12.94 MB / 364.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007875/0.1054, allocations: 3.73 MB / 368.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.1079, allocations: 91.75 kB / 368.6 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.1104, allocations: 0.7854 MB / 369.4 MB, free: 2.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005132/0.1156, allocations: 1.352 MB / 370.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1728/0.2884, allocations: 0.9671 MB / 371.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008261/0.2967, allocations: 6.089 MB / 377.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02311/0.3198, allocations: 14.15 MB / 391.9 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.3241, allocations: 2.337 MB / 394.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004947/0.329, allocations: 2.926 MB / 397.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.3305, allocations: 379.2 kB / 397.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.3331, allocations: 0.5589 MB / 398.1 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.3341, allocations: 1.11 MB / 399.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007933/0.3421, allocations: 3.09 MB / 402.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.3534, allocations: 11.23 MB / 413.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3534, allocations: 0 / 413.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.3534, allocations: 0 / 413.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002998/0.3537, allocations: 0 / 413.6 MB, free: 3.969 MB / 318.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.01725/0.371, allocations: 6.499 MB / 420.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.371, allocations: 8.031 kB / 420.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01952/0.3906, allocations: 2.907 MB / 423 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007051/0.3976, allocations: 3.628 MB / 426.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/0.398, allocations: 479.1 kB / 427.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.3998, allocations: 0.62 MB / 427.7 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.4194, allocations: 9.318 MB / 437 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.4197, allocations: 11.91 kB / 437 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009357/0.4206, allocations: 271.1 kB / 437.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002964/0.4209, allocations: 321.4 kB / 437.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.4364, allocations: 7.954 MB / 445.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04689/0.4834, allocations: 28.65 MB / 474.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.495, allocations: 11.68 MB / 485.9 MB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002688/0.4978, allocations: 1.615 MB / 487.5 MB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/0.4981, allocations: 136.9 kB / 487.6 MB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.92e-05/0.4982, allocations: 63.7 kB / 487.7 MB, free: 7.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 5.27e-06/0.4982, allocations: 0 / 487.7 MB, free: 7.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.008435/0.5067, allocations: 4.188 MB / 491.9 MB, free: 3.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.5068, allocations: 103.1 kB / 492 MB, free: 3.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.5096, allocations: 1.907 MB / 493.9 MB, free: 1.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.5098, allocations: 65.7 kB / 493.9 MB, free: 1.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002033/0.5119, allocations: 2.544 MB / 496.5 MB, free: 14.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.5129, allocations: 0.8095 MB / 497.3 MB, free: 13.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005058/0.5134, allocations: 281 kB / 497.6 MB, free: 13.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5136, allocations: 301.1 kB / 497.9 MB, free: 13.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.5163, allocations: 1.4 MB / 499.3 MB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003178/0.5195, allocations: 2.594 MB / 0.4901 GB, free: 8.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/0.5249, allocations: 4.23 MB / 0.4942 GB, free: 3.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-05/0.5249, allocations: 12 kB / 0.4942 GB, free: 3.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006949/0.5319, allocations: 4.526 MB / 0.4987 GB, free: 15.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.532, allocations: 24 kB / 0.4987 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.618e-05/0.532, allocations: 36 kB / 0.4987 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008282/0.5329, allocations: 309.5 kB / 0.499 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.5357, allocations: 0.7761 MB / 0.4998 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005049/0.5408, allocations: 4.623 MB / 0.5043 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.5433, allocations: 408 kB / 0.5047 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000338/0.5437, allocations: 168 kB / 0.5048 GB, free: 8.707 MB / 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.003561/0.5472, allocations: 2.187 MB / 0.507 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.5477, allocations: 209.4 kB / 0.5072 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005741/0.5534, allocations: 3.185 MB / 0.5103 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.5535, allocations: 24 kB / 0.5103 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/0.5535, allocations: 7.938 kB / 0.5103 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/0.5535, allocations: 11.95 kB / 0.5103 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/0.5718, allocations: 11.79 MB / 0.5218 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.5718, allocations: 16 kB / 0.5219 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/0.5735, allocations: 431.3 kB / 0.5223 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006962/0.5742, allocations: 281.5 kB / 0.5225 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.5744, allocations: 64 kB / 0.5226 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004834/0.5792, allocations: 4.57 MB / 0.5271 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.025e-05/0.5793, allocations: 27.86 kB / 0.5271 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1951/0.7744, allocations: 4.986 MB / 0.532 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.7755, allocations: 0.5408 MB / 0.5325 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.7757, allocations: 65.02 kB / 0.5325 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.777, allocations: 122.2 kB / 0.5327 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.7774, allocations: 207.4 kB / 0.5329 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.7776, allocations: 86.97 kB / 0.5329 GB, free: 137.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001975/0.7795, allocations: 1.292 MB / 0.5342 GB, free: 137.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7796, allocations: 0 / 0.5342 GB, free: 137.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003633/0.7832, allocations: 1.431 MB / 0.5356 GB, free: 137 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.0003702/0.7836, allocations: 221.9 kB / 0.5358 GB, free: 136.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00578/0.7894, allocations: 3.627 MB / 0.5394 GB, free: 135.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/0.7894, allocations: 2.625 kB / 0.5394 GB, free: 135.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/0.792, allocations: 1.688 MB / 0.541 GB, free: 134.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006621/0.7987, allocations: 0.4977 MB / 0.5415 GB, free: 134.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/0.8161, allocations: 12.65 MB / 0.5539 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003487/0.8196, allocations: 4.007 MB / 0.5578 GB, free: 125.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003024/0.8226, allocations: 1.195 MB / 0.5589 GB, free: 125.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.8232, allocations: 186.4 kB / 0.5591 GB, free: 125.5 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.8232, allocations: 0 / 0.5591 GB, free: 125.5 MB / 446.1 MB Notification: Performance of Templates: time 0.04856/0.8718, allocations: 29.54 MB / 0.588 GB, free: 103.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/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