Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 209.1 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 230.4 MB / 250 MB, free: 9.027 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.83 kB / 367.4 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2615, allocations: 53.31 MB / 420.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01525/0.2767, allocations: 14 MB / 434.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007791/0.2845, allocations: 3.843 MB / 438.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.2868, allocations: 99.75 kB / 438.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01245/0.2993, allocations: 5.597 MB / 444.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.3045, allocations: 1.36 MB / 445.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003678/0.3082, allocations: 1.196 MB / 446.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009563/0.3177, allocations: 6.385 MB / 453.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01761/0.3354, allocations: 10.76 MB / 463.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004676/0.34, allocations: 3.288 MB / 467.2 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005829/0.3459, allocations: 3.874 MB / 471.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002149/0.348, allocations: 0.8867 MB / 472 MB, free: 4.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.3511, allocations: 1.09 MB / 473 MB, free: 3.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002516/0.3536, allocations: 1.773 MB / 474.8 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005528/0.3591, allocations: 3.564 MB / 478.4 MB, free: 14.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.3726, allocations: 11.99 MB / 490.4 MB, free: 2.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3726, allocations: 0 / 490.4 MB, free: 2.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3726, allocations: 0 / 490.4 MB, free: 2.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002897/0.3728, allocations: 0 / 490.4 MB, free: 2.336 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.02122/0.3941, allocations: 7.918 MB / 498.3 MB, free: 10.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3941, allocations: 12.03 kB / 498.3 MB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01958/0.4137, allocations: 2.95 MB / 0.4895 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007891/0.4216, allocations: 3.749 MB / 0.4932 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000488/0.4221, allocations: 481 kB / 0.4936 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/0.424, allocations: 0.621 MB / 0.4942 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.4457, allocations: 9.314 MB / 0.5033 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002048/0.4459, allocations: 11.89 kB / 0.5033 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/0.4472, allocations: 260 kB / 0.5036 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003393/0.4475, allocations: 317.4 kB / 0.5039 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.4639, allocations: 7.95 MB / 0.5117 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04835/0.5122, allocations: 28.76 MB / 0.5397 GB, free: 2.812 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2469/0.7591, allocations: 11.46 MB / 0.5509 GB, free: 99.97 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003728/0.7629, allocations: 1.456 MB / 0.5524 GB, free: 99.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.7632, allocations: 215.5 kB / 0.5526 GB, free: 99.42 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.7633, allocations: 57.12 kB / 0.5526 GB, free: 99.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 7.223e-06/0.7633, allocations: 0 / 0.5526 GB, free: 99.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.01197/0.7753, allocations: 4.167 MB / 0.5567 GB, free: 97.94 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.7753, allocations: 106.8 kB / 0.5568 GB, free: 97.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00348/0.7788, allocations: 1.9 MB / 0.5586 GB, free: 97.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001657/0.779, allocations: 65.61 kB / 0.5587 GB, free: 97.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.7803, allocations: 2.643 MB / 0.5613 GB, free: 95.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006755/0.781, allocations: 0.8498 MB / 0.5621 GB, free: 95.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/0.7823, allocations: 0.6623 MB / 0.5628 GB, free: 94.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.7824, allocations: 302.8 kB / 0.5631 GB, free: 94.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/0.7854, allocations: 1.406 MB / 0.5644 GB, free: 94.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/0.7888, allocations: 2.586 MB / 0.567 GB, free: 92.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006657/0.7954, allocations: 4.236 MB / 0.5711 GB, free: 89.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-05/0.7955, allocations: 11.59 kB / 0.5711 GB, free: 89.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006809/0.8023, allocations: 4.515 MB / 0.5755 GB, free: 87.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.8023, allocations: 29.03 kB / 0.5755 GB, free: 87.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.769e-05/0.8024, allocations: 38.53 kB / 0.5756 GB, free: 87.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007552/0.8031, allocations: 313.8 kB / 0.5759 GB, free: 87.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.8056, allocations: 0.7736 MB / 0.5766 GB, free: 86.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004223/0.8098, allocations: 5.053 MB / 0.5816 GB, free: 81.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.8119, allocations: 420.6 kB / 0.582 GB, free: 81.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.8122, allocations: 159.8 kB / 0.5821 GB, free: 81.07 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.00281/0.815, allocations: 2.192 MB / 0.5843 GB, free: 79.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003869/0.8154, allocations: 222.5 kB / 0.5845 GB, free: 79.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/0.8199, allocations: 3.168 MB / 0.5876 GB, free: 75.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.8199, allocations: 27.98 kB / 0.5876 GB, free: 75.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.8199, allocations: 9.109 kB / 0.5876 GB, free: 75.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.8199, allocations: 19.95 kB / 0.5876 GB, free: 75.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.8344, allocations: 12.63 MB / 0.6 GB, free: 62.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/0.8345, allocations: 12 kB / 0.6 GB, free: 62.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.836, allocations: 437.9 kB / 0.6004 GB, free: 62.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000599/0.8366, allocations: 274.1 kB / 0.6006 GB, free: 61.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.8368, allocations: 67.98 kB / 0.6007 GB, free: 61.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.8408, allocations: 4.996 MB / 0.6056 GB, free: 56.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.8408, allocations: 23.88 kB / 0.6056 GB, free: 56.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005501/0.8463, allocations: 4.999 MB / 0.6105 GB, free: 51.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/0.8472, allocations: 0.5379 MB / 0.611 GB, free: 50.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/0.8475, allocations: 59.98 kB / 0.6111 GB, free: 50.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.8489, allocations: 131.8 kB / 0.6112 GB, free: 50.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.8492, allocations: 205.3 kB / 0.6114 GB, free: 50.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.8493, allocations: 83.98 kB / 0.6115 GB, free: 50.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001647/0.851, allocations: 1.294 MB / 0.6127 GB, free: 49.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.851, allocations: 0 / 0.6127 GB, free: 49.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003609/0.8546, allocations: 1.452 MB / 0.6142 GB, free: 47.59 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.0004037/0.855, allocations: 218.6 kB / 0.6144 GB, free: 47.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004729/0.8597, allocations: 3.479 MB / 0.6178 GB, free: 43.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.8597, allocations: 11.5 kB / 0.6178 GB, free: 43.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.8616, allocations: 1.591 MB / 0.6193 GB, free: 42.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.864, allocations: 0.5073 MB / 0.6198 GB, free: 41.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.8784, allocations: 10.05 MB / 0.6296 GB, free: 31.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003813/0.8823, allocations: 4 MB / 0.6335 GB, free: 27.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002802/0.8851, allocations: 1.191 MB / 0.6347 GB, free: 26.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/0.8857, allocations: 187.4 kB / 0.6349 GB, free: 26.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8857, allocations: 0 / 0.6349 GB, free: 26.07 MB / 462.1 MB Notification: Performance of Templates: time 0.05062/0.9363, allocations: 32.47 MB / 0.6666 GB, free: 9.777 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches