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.0009982/0.0009982, allocations: 103 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 193.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.7 MB / 246.4 MB, free: 9.781 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002507/0.0002508, allocations: 11.98 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09665, allocations: 51.53 MB / 358.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01233/0.109, allocations: 11.98 MB / 370.6 MB, free: 1.371 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1674/0.2764, allocations: 3.512 MB / 374.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.2788, allocations: 90.59 kB / 374.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.2804, allocations: 0.5491 MB / 374.8 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.2839, allocations: 1.134 MB / 375.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.2861, allocations: 0.9755 MB / 376.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01063/0.2968, allocations: 9.092 MB / 386 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01854/0.3153, allocations: 12.12 MB / 398.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.3186, allocations: 2.346 MB / 400.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004181/0.3228, allocations: 2.792 MB / 403.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009633/0.3238, allocations: 380 kB / 403.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.326, allocations: 0.5571 MB / 404.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.3273, allocations: 1.09 MB / 405.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.3293, allocations: 1.198 MB / 406.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009367/0.3387, allocations: 9.988 MB / 416.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.3387, allocations: 0 / 416.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3387, allocations: 2.625 kB / 416.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002617/0.339, allocations: 0 / 416.4 MB, free: 1.77 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.01553/0.3545, allocations: 6.569 MB / 423 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3546, allocations: 8.031 kB / 423 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01843/0.373, allocations: 2.941 MB / 425.9 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006264/0.3793, allocations: 3.578 MB / 429.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/0.3797, allocations: 482.6 kB / 430 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/0.3812, allocations: 0.619 MB / 430.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.3978, allocations: 9.27 MB / 439.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.398, allocations: 11.89 kB / 439.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006115/0.3986, allocations: 260.6 kB / 440.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003042/0.3989, allocations: 329.4 kB / 440.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.4124, allocations: 7.899 MB / 448.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04296/0.4554, allocations: 29.11 MB / 477.5 MB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009943/0.4654, allocations: 11.67 MB / 489.2 MB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.4676, allocations: 1.613 MB / 490.8 MB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.4679, allocations: 216.1 kB / 491 MB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.4679, allocations: 60.55 kB / 491 MB, free: 4.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 3.626e-06/0.4679, allocations: 4 kB / 491 MB, free: 4.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.007259/0.4752, allocations: 4.131 MB / 495.2 MB, free: 328 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.4753, allocations: 103.1 kB / 495.3 MB, free: 208 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.4777, allocations: 1.883 MB / 497.2 MB, free: 14.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.4778, allocations: 65.7 kB / 497.2 MB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.4793, allocations: 2.543 MB / 499.8 MB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006186/0.48, allocations: 0.8049 MB / 0.4888 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.4801, allocations: 75.94 kB / 0.4889 GB, free: 10.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.4803, allocations: 445.3 kB / 0.4893 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/0.4824, allocations: 1.389 MB / 0.4907 GB, free: 8.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/0.4852, allocations: 2.587 MB / 0.4932 GB, free: 5.816 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.4878, allocations: 1.996 MB / 0.4952 GB, free: 3.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/0.4878, allocations: 12 kB / 0.4952 GB, free: 3.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006567/0.4944, allocations: 4.483 MB / 0.4996 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.4945, allocations: 23.98 kB / 0.4996 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.096e-05/0.4945, allocations: 40 kB / 0.4996 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007473/0.4953, allocations: 317 kB / 0.4999 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/0.4979, allocations: 0.7761 MB / 0.5007 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005175/0.5031, allocations: 4.614 MB / 0.5052 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.505, allocations: 416 kB / 0.5056 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/0.5053, allocations: 160.2 kB / 0.5057 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003357/0.5087, allocations: 2.194 MB / 0.5079 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/0.509, allocations: 209.4 kB / 0.5081 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/0.5142, allocations: 3.177 MB / 0.5112 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.5142, allocations: 28 kB / 0.5112 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/0.5143, allocations: 7.938 kB / 0.5112 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.5143, allocations: 11.95 kB / 0.5112 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/0.532, allocations: 12.65 MB / 0.5236 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/0.532, allocations: 16 kB / 0.5236 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.5337, allocations: 439.4 kB / 0.524 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006527/0.5343, allocations: 273.4 kB / 0.5243 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.5345, allocations: 67.98 kB / 0.5243 GB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00487/0.5394, allocations: 4.556 MB / 0.5288 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/0.5394, allocations: 19.94 kB / 0.5288 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1953/0.7347, allocations: 4.964 MB / 0.5337 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.7357, allocations: 0.5416 MB / 0.5342 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.736, allocations: 63.94 kB / 0.5342 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.7372, allocations: 124.6 kB / 0.5344 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.7375, allocations: 208 kB / 0.5346 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.7376, allocations: 83.05 kB / 0.5346 GB, free: 130.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001855/0.7395, allocations: 1.281 MB / 0.5359 GB, free: 130.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7395, allocations: 0 / 0.5359 GB, free: 130.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003573/0.7431, allocations: 1.434 MB / 0.5373 GB, free: 129.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/0.7435, allocations: 221.5 kB / 0.5375 GB, free: 129.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005439/0.7489, allocations: 3.606 MB / 0.541 GB, free: 128.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.7489, allocations: 2.188 kB / 0.541 GB, free: 128.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.7514, allocations: 1.689 MB / 0.5427 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/0.7542, allocations: 0.4961 MB / 0.5432 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.7697, allocations: 12.09 MB / 0.555 GB, free: 120.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003796/0.7735, allocations: 4.013 MB / 0.5589 GB, free: 118.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003384/0.7769, allocations: 1.198 MB / 0.5601 GB, free: 118.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/0.7774, allocations: 188.4 kB / 0.5602 GB, free: 118.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7774, allocations: 0 / 0.5602 GB, free: 118.7 MB / 446.1 MB Notification: Performance of Templates: time 0.04343/0.8209, allocations: 28.89 MB / 0.5884 GB, free: 98.3 MB / 446.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