Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: 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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001506/0.001506, allocations: 114.4 kB / 18.45 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 227.7 MB / 247.9 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 63.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2217, allocations: 50.54 MB / 410.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01541/0.2371, allocations: 13.98 MB / 424.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007679/0.2448, allocations: 3.843 MB / 428 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.2463, allocations: 99.75 kB / 428.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01177/0.258, allocations: 5.59 MB / 433.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.2621, allocations: 1.359 MB / 435.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.2649, allocations: 1.204 MB / 436.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007468/0.2723, allocations: 6.386 MB / 442.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01404/0.2864, allocations: 10.76 MB / 453.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004263/0.2906, allocations: 3.284 MB / 456.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005511/0.2961, allocations: 3.858 MB / 460.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001753/0.2979, allocations: 0.8867 MB / 461.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.3001, allocations: 1.078 MB / 462.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.3017, allocations: 1.777 MB / 464.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004206/0.3059, allocations: 3.572 MB / 467.9 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.3181, allocations: 11.98 MB / 479.9 MB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.3181, allocations: 3.938 kB / 479.9 MB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3181, allocations: 3.938 kB / 479.9 MB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002339/0.3183, allocations: 3.938 kB / 479.9 MB, free: 11.46 MB / 398.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.01935/0.3376, allocations: 7.913 MB / 487.8 MB, free: 3.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3377, allocations: 8.031 kB / 487.8 MB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01997/0.3577, allocations: 2.947 MB / 490.8 MB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008556/0.3662, allocations: 3.742 MB / 494.5 MB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004329/0.3666, allocations: 481 kB / 495 MB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.3683, allocations: 0.6288 MB / 495.6 MB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.3876, allocations: 9.314 MB / 0.4931 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.3878, allocations: 15.89 kB / 0.4931 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006895/0.3884, allocations: 260 kB / 0.4933 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003592/0.3888, allocations: 317.4 kB / 0.4936 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.4037, allocations: 7.95 MB / 0.5014 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04665/0.4504, allocations: 28.77 MB / 0.5295 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1922/0.6426, allocations: 11.45 MB / 0.5407 GB, free: 117.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002924/0.6455, allocations: 1.451 MB / 0.5421 GB, free: 117.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.6458, allocations: 214.7 kB / 0.5423 GB, free: 117.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.6458, allocations: 62.34 kB / 0.5424 GB, free: 117.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.519e-06/0.6458, allocations: 0 / 0.5424 GB, free: 117.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.007117/0.6529, allocations: 4.173 MB / 0.5464 GB, free: 116.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.6529, allocations: 102.8 kB / 0.5465 GB, free: 116.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/0.6552, allocations: 1.905 MB / 0.5484 GB, free: 115.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.6554, allocations: 65.27 kB / 0.5485 GB, free: 115.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009349/0.6563, allocations: 2.629 MB / 0.551 GB, free: 113.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000452/0.6568, allocations: 0.8549 MB / 0.5519 GB, free: 112.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008241/0.6576, allocations: 0.6605 MB / 0.5525 GB, free: 112.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.127e-05/0.6576, allocations: 309.9 kB / 0.5528 GB, free: 112.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.6593, allocations: 1.404 MB / 0.5542 GB, free: 111.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.6613, allocations: 2.594 MB / 0.5567 GB, free: 109.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/0.6648, allocations: 4.231 MB / 0.5608 GB, free: 107 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/0.6649, allocations: 11.75 kB / 0.5608 GB, free: 107 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005327/0.6702, allocations: 4.52 MB / 0.5653 GB, free: 105.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.6702, allocations: 20.78 kB / 0.5653 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/0.6703, allocations: 37.97 kB / 0.5653 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/0.671, allocations: 311.4 kB / 0.5656 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/0.6734, allocations: 0.7818 MB / 0.5664 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.6774, allocations: 5.052 MB / 0.5713 GB, free: 99.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.6794, allocations: 420 kB / 0.5717 GB, free: 99.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/0.6796, allocations: 159.8 kB / 0.5719 GB, free: 99 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.002572/0.6822, allocations: 2.198 MB / 0.574 GB, free: 97.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.6826, allocations: 218.6 kB / 0.5742 GB, free: 96.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00429/0.6869, allocations: 3.171 MB / 0.5773 GB, free: 94.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.6869, allocations: 27.94 kB / 0.5773 GB, free: 94.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.6869, allocations: 4 kB / 0.5773 GB, free: 94.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.6869, allocations: 15.95 kB / 0.5774 GB, free: 94.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.701, allocations: 12.64 MB / 0.5897 GB, free: 80.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.7011, allocations: 13 kB / 0.5897 GB, free: 80.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.7026, allocations: 439.3 kB / 0.5901 GB, free: 80.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000588/0.7032, allocations: 273.5 kB / 0.5904 GB, free: 80.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.7034, allocations: 71.98 kB / 0.5905 GB, free: 80.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/0.7072, allocations: 4.983 MB / 0.5953 GB, free: 74.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.7072, allocations: 27.86 kB / 0.5954 GB, free: 74.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005211/0.7124, allocations: 4.995 MB / 0.6002 GB, free: 69.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009009/0.7133, allocations: 0.538 MB / 0.6008 GB, free: 69.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.7137, allocations: 59.98 kB / 0.6008 GB, free: 69.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.715, allocations: 119.9 kB / 0.6009 GB, free: 68.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.7152, allocations: 205.3 kB / 0.6011 GB, free: 68.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.7153, allocations: 87.92 kB / 0.6012 GB, free: 68.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001471/0.7168, allocations: 1.291 MB / 0.6025 GB, free: 67.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7168, allocations: 4 kB / 0.6025 GB, free: 67.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003239/0.72, allocations: 1.457 MB / 0.6039 GB, free: 65.85 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.0003717/0.7204, allocations: 218.5 kB / 0.6041 GB, free: 65.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00428/0.7247, allocations: 3.488 MB / 0.6075 GB, free: 62.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/0.7247, allocations: 8.062 kB / 0.6075 GB, free: 62.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.7265, allocations: 1.587 MB / 0.6091 GB, free: 60.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.729, allocations: 0.516 MB / 0.6096 GB, free: 60.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.7426, allocations: 10.03 MB / 0.6194 GB, free: 49.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003472/0.746, allocations: 4.011 MB / 0.6233 GB, free: 45.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002657/0.7487, allocations: 1.191 MB / 0.6245 GB, free: 44.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/0.7493, allocations: 183.4 kB / 0.6246 GB, free: 44.33 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7493, allocations: 0 / 0.6246 GB, free: 44.33 MB / 462.1 MB Notification: Performance of Templates: time 0.04702/0.7963, allocations: 32.3 MB / 0.6562 GB, free: 12.22 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches