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.001649/0.001649, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001933/0.001933, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.601/2.601, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3935, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.02891/0.4225, allocations: 13.95 MB / 423.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.4359, allocations: 3.831 MB / 427.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/0.4389, allocations: 99.75 kB / 427.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02157/0.4605, allocations: 5.557 MB / 433.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008841/0.4694, allocations: 1.351 MB / 434.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006393/0.4758, allocations: 1.207 MB / 435.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01413/0.49, allocations: 6.377 MB / 442.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03299/0.5231, allocations: 13.67 MB / 456 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007097/0.5302, allocations: 3.292 MB / 459.3 MB, free: 16 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009507/0.5398, allocations: 3.847 MB / 463.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003161/0.543, allocations: 0.8867 MB / 464 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/0.5474, allocations: 1.094 MB / 465.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003083/0.5506, allocations: 1.765 MB / 466.9 MB, free: 8.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007645/0.5582, allocations: 3.564 MB / 470.4 MB, free: 4.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01972/0.578, allocations: 11.96 MB / 482.4 MB, free: 8.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.5781, allocations: 3.938 kB / 482.4 MB, free: 8.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5781, allocations: 0 / 482.4 MB, free: 8.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002992/0.5784, allocations: 4 kB / 482.4 MB, free: 8.828 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.03643/0.6149, allocations: 7.769 MB / 490.2 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.615, allocations: 12.03 kB / 490.2 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04095/0.6559, allocations: 2.92 MB / 493.1 MB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/0.6703, allocations: 3.733 MB / 496.8 MB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006925/0.6711, allocations: 485 kB / 497.3 MB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00279/0.6739, allocations: 0.621 MB / 497.9 MB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.033/0.7069, allocations: 9.314 MB / 0.4954 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002618/0.7072, allocations: 7.906 kB / 0.4954 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001468/0.7087, allocations: 264 kB / 0.4956 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005182/0.7092, allocations: 317.4 kB / 0.4959 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/0.7368, allocations: 7.95 MB / 0.5037 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07934/0.8162, allocations: 28.69 MB / 0.5317 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3063/1.123, allocations: 11.69 MB / 0.5431 GB, free: 114 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005479/1.128, allocations: 1.609 MB / 0.5447 GB, free: 114 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/1.129, allocations: 219.2 kB / 0.5449 GB, free: 113.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/1.129, allocations: 57.81 kB / 0.5449 GB, free: 113.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 8.275e-06/1.129, allocations: 0 / 0.5449 GB, free: 113.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.01372/1.142, allocations: 4.175 MB / 0.549 GB, free: 112.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.143, allocations: 106.8 kB / 0.5491 GB, free: 112.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/1.146, allocations: 1.905 MB / 0.551 GB, free: 111.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003168/1.147, allocations: 65.61 kB / 0.5511 GB, free: 111.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.148, allocations: 2.537 MB / 0.5535 GB, free: 109.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008545/1.149, allocations: 0.8093 MB / 0.5543 GB, free: 109.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001502/1.151, allocations: 0.66 MB / 0.555 GB, free: 108.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.893e-05/1.151, allocations: 305.8 kB / 0.5553 GB, free: 108.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003379/1.154, allocations: 1.406 MB / 0.5566 GB, free: 108.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003974/1.158, allocations: 2.591 MB / 0.5592 GB, free: 106.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007637/1.166, allocations: 4.238 MB / 0.5633 GB, free: 103.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-05/1.166, allocations: 11.75 kB / 0.5633 GB, free: 103.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01126/1.177, allocations: 4.515 MB / 0.5677 GB, free: 101.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/1.177, allocations: 26.14 kB / 0.5677 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.821e-05/1.177, allocations: 39.88 kB / 0.5678 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/1.179, allocations: 309.6 kB / 0.5681 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005299/1.184, allocations: 0.7758 MB / 0.5688 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006573/1.191, allocations: 5.044 MB / 0.5738 GB, free: 95.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/1.194, allocations: 414.9 kB / 0.5742 GB, free: 95.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004927/1.195, allocations: 159.8 kB / 0.5743 GB, free: 95.32 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.00476/1.199, allocations: 2.193 MB / 0.5764 GB, free: 93.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005833/1.2, allocations: 209.5 kB / 0.5766 GB, free: 93.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007979/1.208, allocations: 3.18 MB / 0.5798 GB, free: 90.36 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/1.208, allocations: 27.94 kB / 0.5798 GB, free: 90.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/1.208, allocations: 7.719 kB / 0.5798 GB, free: 90.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/1.208, allocations: 11.95 kB / 0.5798 GB, free: 90.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02742/1.235, allocations: 12.64 MB / 0.5921 GB, free: 77.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/1.236, allocations: 12 kB / 0.5922 GB, free: 77.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/1.239, allocations: 435.4 kB / 0.5926 GB, free: 76.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/1.24, allocations: 277.6 kB / 0.5928 GB, free: 76.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.24, allocations: 67.98 kB / 0.5929 GB, free: 76.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006815/1.247, allocations: 4.981 MB / 0.5978 GB, free: 71.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/1.247, allocations: 19.94 kB / 0.5978 GB, free: 71.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008765/1.256, allocations: 4.997 MB / 0.6027 GB, free: 65.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.257, allocations: 0.529 MB / 0.6032 GB, free: 65.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004389/1.258, allocations: 59.98 kB / 0.6032 GB, free: 65.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/1.26, allocations: 124 kB / 0.6034 GB, free: 65.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004911/1.261, allocations: 209.2 kB / 0.6036 GB, free: 64.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/1.261, allocations: 85.62 kB / 0.6036 GB, free: 64.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002624/1.264, allocations: 1.291 MB / 0.6049 GB, free: 63.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.21e-07/1.264, allocations: 0 / 0.6049 GB, free: 63.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00603/1.27, allocations: 1.441 MB / 0.6063 GB, free: 62.04 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.0006688/1.27, allocations: 220.3 kB / 0.6065 GB, free: 61.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008227/1.279, allocations: 3.668 MB / 0.6101 GB, free: 58.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.978e-05/1.279, allocations: 0 / 0.6101 GB, free: 58.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004065/1.283, allocations: 1.692 MB / 0.6117 GB, free: 56.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00507/1.288, allocations: 0.5173 MB / 0.6123 GB, free: 55.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.313, allocations: 9.741 MB / 0.6218 GB, free: 45.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005589/1.318, allocations: 3.901 MB / 0.6256 GB, free: 42.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/1.32, allocations: 215.4 kB / 0.6258 GB, free: 41.84 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/1.32, allocations: 3.828 kB / 0.6258 GB, free: 41.84 MB / 462.1 MB Notification: Performance of Templates: time 0.8089/2.129, allocations: 124.9 MB / 0.7477 GB, free: 180.1 MB / 0.5294 GB 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