Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.274, allocations: 50.54 MB / 409.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01347/0.2875, allocations: 13.95 MB / 423.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008206/0.2957, allocations: 3.824 MB / 427 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.2992, allocations: 103.7 kB / 427.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01248/0.3117, allocations: 5.564 MB / 432.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006938/0.3187, allocations: 1.343 MB / 434 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.3229, allocations: 1.213 MB / 435.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009128/0.3321, allocations: 6.386 MB / 441.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02285/0.3549, allocations: 13.67 MB / 455.3 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006692/0.3617, allocations: 3.285 MB / 458.6 MB, free: 8 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007023/0.3687, allocations: 3.858 MB / 462.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004737/0.3735, allocations: 0.8828 MB / 463.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/0.3784, allocations: 1.09 MB / 464.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00447/0.3829, allocations: 1.769 MB / 466.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009208/0.3921, allocations: 3.564 MB / 469.8 MB, free: 4.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0175/0.4097, allocations: 11.96 MB / 481.7 MB, free: 8.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4097, allocations: 7.938 kB / 481.7 MB, free: 8.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4097, allocations: 0 / 481.7 MB, free: 8.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004415/0.4102, allocations: 0 / 481.7 MB, free: 8.812 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.02936/0.4396, allocations: 7.773 MB / 489.5 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4396, allocations: 8.031 kB / 489.5 MB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02188/0.4615, allocations: 2.917 MB / 492.4 MB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00979/0.4713, allocations: 3.74 MB / 496.2 MB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005583/0.4719, allocations: 481 kB / 496.6 MB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002807/0.4748, allocations: 0.621 MB / 497.2 MB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03031/0.5051, allocations: 9.318 MB / 0.4947 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003862/0.5055, allocations: 11.84 kB / 0.4947 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002543/0.5081, allocations: 264 kB / 0.495 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003741/0.5085, allocations: 309.4 kB / 0.4953 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01998/0.5285, allocations: 7.954 MB / 0.503 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05823/0.5868, allocations: 28.69 MB / 0.531 GB, free: 9.547 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2467/0.8335, allocations: 11.69 MB / 0.5424 GB, free: 114 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/0.8368, allocations: 1.615 MB / 0.544 GB, free: 113.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.837, allocations: 221 kB / 0.5442 GB, free: 113.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.8371, allocations: 60.67 kB / 0.5443 GB, free: 113.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.127e-06/0.8371, allocations: 3.375 kB / 0.5443 GB, free: 113.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.007272/0.8444, allocations: 4.163 MB / 0.5484 GB, free: 112.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.8444, allocations: 106.8 kB / 0.5485 GB, free: 112.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.8466, allocations: 1.909 MB / 0.5503 GB, free: 111.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.8467, allocations: 65.61 kB / 0.5504 GB, free: 111.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.8478, allocations: 2.539 MB / 0.5529 GB, free: 109.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000414/0.8482, allocations: 0.8105 MB / 0.5537 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008215/0.849, allocations: 0.6611 MB / 0.5543 GB, free: 108.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.537e-05/0.8491, allocations: 309 kB / 0.5546 GB, free: 108.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.8507, allocations: 1.4 MB / 0.556 GB, free: 108.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.8527, allocations: 2.593 MB / 0.5585 GB, free: 106.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.8563, allocations: 4.229 MB / 0.5626 GB, free: 103.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/0.8564, allocations: 15.66 kB / 0.5626 GB, free: 103.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005536/0.8619, allocations: 4.519 MB / 0.5671 GB, free: 101.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.862, allocations: 22.22 kB / 0.5671 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.304e-05/0.862, allocations: 38.88 kB / 0.5671 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007133/0.8627, allocations: 306.3 kB / 0.5674 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.8653, allocations: 0.7814 MB / 0.5682 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.8695, allocations: 5.041 MB / 0.5731 GB, free: 95.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/0.8718, allocations: 415.4 kB / 0.5735 GB, free: 95.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.8721, allocations: 159.8 kB / 0.5736 GB, free: 95.26 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.002727/0.8748, allocations: 2.196 MB / 0.5758 GB, free: 93.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.8752, allocations: 205.5 kB / 0.576 GB, free: 93.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/0.8793, allocations: 3.183 MB / 0.5791 GB, free: 90.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.8793, allocations: 27.94 kB / 0.5791 GB, free: 90.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.8793, allocations: 7.719 kB / 0.5791 GB, free: 90.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.8793, allocations: 15.94 kB / 0.5791 GB, free: 90.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.8927, allocations: 12.63 MB / 0.5915 GB, free: 77.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.8928, allocations: 19.98 kB / 0.5915 GB, free: 77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.8944, allocations: 443.3 kB / 0.5919 GB, free: 76.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000593/0.895, allocations: 269.5 kB / 0.5922 GB, free: 76.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.8951, allocations: 64 kB / 0.5922 GB, free: 76.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003789/0.8989, allocations: 4.983 MB / 0.5971 GB, free: 70.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.8989, allocations: 19.94 kB / 0.5971 GB, free: 70.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/0.9042, allocations: 4.997 MB / 0.602 GB, free: 65.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008432/0.905, allocations: 0.5251 MB / 0.6025 GB, free: 65.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/0.9053, allocations: 59.98 kB / 0.6026 GB, free: 65.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.9066, allocations: 123.9 kB / 0.6027 GB, free: 65.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.9069, allocations: 209.3 kB / 0.6029 GB, free: 64.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.907, allocations: 89.64 kB / 0.603 GB, free: 64.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001393/0.9084, allocations: 1.291 MB / 0.6042 GB, free: 63.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9084, allocations: 0 / 0.6042 GB, free: 63.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003292/0.9117, allocations: 1.433 MB / 0.6056 GB, free: 62 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.0003761/0.9121, allocations: 224.4 kB / 0.6059 GB, free: 61.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004581/0.9167, allocations: 3.665 MB / 0.6094 GB, free: 58.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.9167, allocations: 4.062 kB / 0.6094 GB, free: 58.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002204/0.9189, allocations: 1.691 MB / 0.6111 GB, free: 56.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/0.922, allocations: 0.5088 MB / 0.6116 GB, free: 55.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.9355, allocations: 9.883 MB / 0.6212 GB, free: 45.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/0.9385, allocations: 4 MB / 0.6251 GB, free: 41.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002634/0.9411, allocations: 1.191 MB / 0.6263 GB, free: 40.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.9416, allocations: 195.2 kB / 0.6265 GB, free: 40.38 MB / 462.1 MB Notification: Performance of SimCode: time 6.62e-07/0.9417, allocations: 4 kB / 0.6265 GB, free: 40.38 MB / 462.1 MB Notification: Performance of Templates: time 0.04583/0.9875, allocations: 31.9 MB / 0.6576 GB, free: 8.625 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches