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.001524/0.001524, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.00191, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.83 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2144, allocations: 50.54 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01366/0.2281, allocations: 13.94 MB / 423.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006834/0.235, allocations: 3.839 MB / 427.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009153/0.2359, allocations: 99.75 kB / 427.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.2468, allocations: 5.576 MB / 433.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.2502, allocations: 1.355 MB / 434.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.2527, allocations: 1.212 MB / 436 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00626/0.259, allocations: 6.37 MB / 442.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01529/0.2743, allocations: 13.67 MB / 456 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.2779, allocations: 3.3 MB / 459.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004313/0.2823, allocations: 3.847 MB / 463.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.2833, allocations: 0.8867 MB / 464 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.285, allocations: 1.082 MB / 465.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.2863, allocations: 1.765 MB / 466.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003017/0.2893, allocations: 3.572 MB / 470.5 MB, free: 4.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009177/0.2985, allocations: 11.96 MB / 482.4 MB, free: 8.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2985, allocations: 0 / 482.4 MB, free: 8.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2985, allocations: 3.938 kB / 482.4 MB, free: 8.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001584/0.2987, allocations: 0 / 482.4 MB, free: 8.797 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.01712/0.3158, allocations: 7.777 MB / 490.2 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.3158, allocations: 8.031 kB / 490.2 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/0.335, allocations: 2.917 MB / 493.1 MB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006478/0.3415, allocations: 3.744 MB / 496.9 MB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/0.3419, allocations: 481 kB / 497.3 MB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.343, allocations: 0.6171 MB / 498 MB, free: 9.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.3589, allocations: 9.318 MB / 0.4954 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.359, allocations: 11.91 kB / 0.4954 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006162/0.3596, allocations: 260 kB / 0.4957 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002663/0.3599, allocations: 317.4 kB / 0.496 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/0.3728, allocations: 7.95 MB / 0.5037 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03878/0.4116, allocations: 28.68 MB / 0.5317 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1975/0.6091, allocations: 11.69 MB / 0.5431 GB, free: 113.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.6121, allocations: 1.614 MB / 0.5447 GB, free: 113.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.6124, allocations: 221.4 kB / 0.5449 GB, free: 113.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.6124, allocations: 57.55 kB / 0.545 GB, free: 113.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 4.849e-06/0.6124, allocations: 0 / 0.545 GB, free: 113.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.00687/0.6193, allocations: 4.173 MB / 0.5491 GB, free: 112.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.6193, allocations: 102.7 kB / 0.5492 GB, free: 112.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.6214, allocations: 1.901 MB / 0.551 GB, free: 111.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.6215, allocations: 65.61 kB / 0.5511 GB, free: 111.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008984/0.6224, allocations: 2.545 MB / 0.5536 GB, free: 109.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/0.6228, allocations: 0.8155 MB / 0.5544 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008475/0.6236, allocations: 0.6571 MB / 0.555 GB, free: 108.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.663e-05/0.6237, allocations: 305.1 kB / 0.5553 GB, free: 108.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.6253, allocations: 1.403 MB / 0.5567 GB, free: 108.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.6274, allocations: 2.592 MB / 0.5592 GB, free: 106.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003643/0.6311, allocations: 4.236 MB / 0.5633 GB, free: 103.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.6311, allocations: 11.22 kB / 0.5633 GB, free: 103.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005329/0.6364, allocations: 4.519 MB / 0.5678 GB, free: 101.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.6365, allocations: 18.5 kB / 0.5678 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.6365, allocations: 38.47 kB / 0.5678 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006736/0.6372, allocations: 312.8 kB / 0.5681 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/0.6396, allocations: 0.7713 MB / 0.5689 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003888/0.6435, allocations: 5.047 MB / 0.5738 GB, free: 95.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.6453, allocations: 414.7 kB / 0.5742 GB, free: 95.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.6455, allocations: 163.8 kB / 0.5743 GB, free: 95.21 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.002383/0.6479, allocations: 2.194 MB / 0.5765 GB, free: 93.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.6482, allocations: 201.5 kB / 0.5767 GB, free: 93.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/0.6523, allocations: 3.18 MB / 0.5798 GB, free: 90.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.6524, allocations: 11.95 kB / 0.5798 GB, free: 90.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6524, allocations: 11.94 kB / 0.5798 GB, free: 90.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000617/0.653, allocations: 0.5054 MB / 0.5803 GB, free: 89.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.6532, allocations: 44.88 kB / 0.5803 GB, free: 89.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000998/0.6542, allocations: 107.9 kB / 0.5804 GB, free: 89.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.6545, allocations: 162.1 kB / 0.5806 GB, free: 89.45 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004181/0.6587, allocations: 2.992 MB / 0.5835 GB, free: 86.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003997/0.6627, allocations: 3.977 MB / 0.5874 GB, free: 82.5 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001097/0.6638, allocations: 1.119 MB / 0.5885 GB, free: 81.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001352/0.6652, allocations: 1.291 MB / 0.5898 GB, free: 80.09 MB / 462.1 MB Notification: Performance of Backend: time 2.9e-07/0.6652, allocations: 0 / 0.5898 GB, free: 80.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004011/0.6692, allocations: 2.846 MB / 0.5925 GB, free: 77.25 MB / 462.1 MB Notification: Performance of SimCode: time 0.01172/0.6809, allocations: 9.398 MB / 0.6017 GB, free: 67.82 MB / 462.1 MB Notification: Performance of Templates: time 0.05177/0.7327, allocations: 40.35 MB / 0.6411 GB, free: 27.61 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