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.00111/0.00111, allocations: 112.1 kB / 18.46 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.001134/0.001134, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.221, allocations: 50.55 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01348/0.2345, allocations: 13.95 MB / 423.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006823/0.2413, allocations: 3.828 MB / 427.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.2431, allocations: 103.7 kB / 427.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0113/0.2544, allocations: 5.573 MB / 433.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.2583, allocations: 1.359 MB / 434.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.2608, allocations: 1.195 MB / 436 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006211/0.267, allocations: 6.382 MB / 442.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01495/0.282, allocations: 13.68 MB / 456 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/0.2857, allocations: 3.288 MB / 459.3 MB, free: 4 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004706/0.2904, allocations: 3.858 MB / 463.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.2917, allocations: 0.8828 MB / 464 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.2935, allocations: 1.09 MB / 465.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001372/0.2949, allocations: 1.765 MB / 466.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003168/0.2981, allocations: 3.564 MB / 470.5 MB, free: 4.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.3083, allocations: 12 MB / 482.5 MB, free: 8.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3083, allocations: 0 / 482.5 MB, free: 8.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3083, allocations: 3.938 kB / 482.5 MB, free: 8.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001717/0.3085, allocations: 0 / 482.5 MB, free: 8.77 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.0165/0.325, allocations: 7.905 MB / 490.4 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.325, allocations: 12.03 kB / 490.4 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01917/0.3442, allocations: 2.947 MB / 493.3 MB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006613/0.3509, allocations: 3.745 MB / 497.1 MB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.3512, allocations: 481 kB / 497.5 MB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.3526, allocations: 0.621 MB / 498.2 MB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/0.3707, allocations: 9.314 MB / 0.4956 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/0.3709, allocations: 11.89 kB / 0.4956 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000814/0.3717, allocations: 264 kB / 0.4959 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002785/0.372, allocations: 313.4 kB / 0.4961 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.3857, allocations: 7.95 MB / 0.5039 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03916/0.4249, allocations: 28.77 MB / 0.532 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1931/0.6181, allocations: 11.69 MB / 0.5434 GB, free: 113.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002974/0.6211, allocations: 1.614 MB / 0.545 GB, free: 113.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.6213, allocations: 221.2 kB / 0.5452 GB, free: 113.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.6214, allocations: 63.09 kB / 0.5453 GB, free: 113.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.298e-06/0.6214, allocations: 3.938 kB / 0.5453 GB, free: 113.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.006813/0.6282, allocations: 4.175 MB / 0.5494 GB, free: 112 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.6283, allocations: 102.9 kB / 0.5495 GB, free: 111.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.6303, allocations: 1.902 MB / 0.5513 GB, free: 111.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.6304, allocations: 65.61 kB / 0.5514 GB, free: 111.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009323/0.6314, allocations: 2.629 MB / 0.5539 GB, free: 109.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.6318, allocations: 0.8567 MB / 0.5548 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008224/0.6326, allocations: 0.6562 MB / 0.5554 GB, free: 108.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.6327, allocations: 310.1 kB / 0.5557 GB, free: 108.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.6343, allocations: 1.41 MB / 0.5571 GB, free: 108.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.6364, allocations: 2.589 MB / 0.5596 GB, free: 106.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/0.64, allocations: 4.236 MB / 0.5638 GB, free: 103.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/0.64, allocations: 11.56 kB / 0.5638 GB, free: 103.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005291/0.6453, allocations: 4.527 MB / 0.5682 GB, free: 101.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.6454, allocations: 23.16 kB / 0.5682 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/0.6454, allocations: 38.88 kB / 0.5682 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006774/0.6461, allocations: 311.4 kB / 0.5685 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/0.6485, allocations: 0.7763 MB / 0.5693 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.6524, allocations: 5.047 MB / 0.5742 GB, free: 95.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.6542, allocations: 432.5 kB / 0.5746 GB, free: 95.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.6544, allocations: 159.8 kB / 0.5748 GB, free: 95.29 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.002451/0.6569, allocations: 2.197 MB / 0.5769 GB, free: 93.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.6572, allocations: 220.2 kB / 0.5772 GB, free: 93.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/0.6612, allocations: 3.179 MB / 0.5803 GB, free: 90.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.6612, allocations: 11.95 kB / 0.5803 GB, free: 90.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6612, allocations: 3.938 kB / 0.5803 GB, free: 90.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006074/0.6618, allocations: 0.5222 MB / 0.5808 GB, free: 89.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.6621, allocations: 40 kB / 0.5808 GB, free: 89.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009357/0.663, allocations: 111.9 kB / 0.5809 GB, free: 89.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.6632, allocations: 158.1 kB / 0.5811 GB, free: 89.47 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004037/0.6673, allocations: 2.994 MB / 0.584 GB, free: 86.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003974/0.6713, allocations: 3.986 MB / 0.5879 GB, free: 82.51 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001075/0.6724, allocations: 1.127 MB / 0.589 GB, free: 81.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001338/0.6737, allocations: 1.294 MB / 0.5903 GB, free: 80.09 MB / 462.1 MB Notification: Performance of Backend: time 3.91e-07/0.6737, allocations: 0 / 0.5903 GB, free: 80.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003944/0.6777, allocations: 2.835 MB / 0.593 GB, free: 77.25 MB / 462.1 MB Notification: Performance of SimCode: time 0.01163/0.6893, allocations: 9.563 MB / 0.6024 GB, free: 67.64 MB / 462.1 MB Notification: Performance of Templates: time 0.05075/0.7401, allocations: 40.35 MB / 0.6418 GB, free: 27.44 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/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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches