Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 109.7 kB / 17.16 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002131/0.002132, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.335/2.335, allocations: 222.9 MB / 241.7 MB, free: 15.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 53.62 kB / 300.6 MB, free: 6.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1941, allocations: 49.45 MB / 350.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.03001/0.2242, allocations: 13.71 MB / 363.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0179/0.2421, allocations: 3.773 MB / 367.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005612/0.2478, allocations: 95.75 kB / 367.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3959/0.6439, allocations: 5.271 MB / 372.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009574/0.6535, allocations: 1.352 MB / 374.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005232/0.6588, allocations: 1.002 MB / 375.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.6701, allocations: 6.09 MB / 381.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02094/0.6911, allocations: 11.48 MB / 392.8 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006203/0.6973, allocations: 2.982 MB / 395.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009993/0.7074, allocations: 3.756 MB / 399.6 MB, free: 136 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006443/0.7139, allocations: 0.7897 MB / 400.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006638/0.7206, allocations: 0.8661 MB / 401.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005104/0.7258, allocations: 1.562 MB / 402.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01148/0.7373, allocations: 3.355 MB / 406.1 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.7558, allocations: 10.27 MB / 416.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.7559, allocations: 7.938 kB / 416.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7559, allocations: 0 / 416.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004328/0.7563, allocations: 0 / 416.4 MB, free: 15.89 MB / 334.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.02743/0.7838, allocations: 7.806 MB / 424.2 MB, free: 8.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.7839, allocations: 11.97 kB / 424.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02213/0.806, allocations: 2.889 MB / 427.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008992/0.8151, allocations: 3.605 MB / 430.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000492/0.8156, allocations: 483.5 kB / 431.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002723/0.8183, allocations: 0.627 MB / 431.8 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03189/0.8502, allocations: 9.318 MB / 441.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003597/0.8507, allocations: 7.906 kB / 441.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002795/0.8535, allocations: 261.9 kB / 441.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006066/0.8541, allocations: 329.4 kB / 441.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03033/0.8845, allocations: 7.951 MB / 449.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08642/0.9709, allocations: 28.54 MB / 478.2 MB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/0.9879, allocations: 11.71 MB / 489.9 MB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/0.9911, allocations: 1.617 MB / 491.6 MB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/0.9915, allocations: 144.8 kB / 491.7 MB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/0.9915, allocations: 56.56 kB / 491.8 MB, free: 2.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 5.34e-06/0.9915, allocations: 0 / 491.8 MB, free: 2.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.00874/1, allocations: 4.168 MB / 495.9 MB, free: 13.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/1, allocations: 103.1 kB / 496 MB, free: 13.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/1.004, allocations: 1.899 MB / 497.9 MB, free: 11.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002632/1.004, allocations: 61.7 kB / 498 MB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002033/1.006, allocations: 2.544 MB / 0.4888 GB, free: 9.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009409/1.007, allocations: 0.8139 MB / 0.4896 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/1.008, allocations: 0.6598 MB / 0.4902 GB, free: 7.789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/1.008, allocations: 305.1 kB / 0.4905 GB, free: 7.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003484/1.012, allocations: 1.4 MB / 0.4919 GB, free: 6.086 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/1.016, allocations: 2.599 MB / 0.4944 GB, free: 2.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006092/1.022, allocations: 4.226 MB / 0.4986 GB, free: 14.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.442e-05/1.022, allocations: 12 kB / 0.4986 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008159/1.03, allocations: 4.518 MB / 0.503 GB, free: 9.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/1.031, allocations: 24 kB / 0.503 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.627e-05/1.031, allocations: 36 kB / 0.503 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/1.032, allocations: 317.9 kB / 0.5033 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003156/1.035, allocations: 0.7878 MB / 0.5041 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006185/1.041, allocations: 4.596 MB / 0.5086 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/1.044, allocations: 420 kB / 0.509 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008474/1.045, allocations: 164.2 kB / 0.5092 GB, free: 3.047 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 (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.006272/1.051, allocations: 2.191 MB / 0.5113 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000899/1.052, allocations: 209.4 kB / 0.5115 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007873/1.06, allocations: 3.185 MB / 0.5146 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/1.06, allocations: 24 kB / 0.5146 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/1.06, allocations: 15.88 kB / 0.5146 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/1.06, allocations: 19.89 kB / 0.5147 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03223/1.093, allocations: 11.78 MB / 0.5262 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/1.093, allocations: 12 kB / 0.5262 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00335/1.096, allocations: 439.3 kB / 0.5266 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/1.097, allocations: 271.4 kB / 0.5268 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003767/1.098, allocations: 63.98 kB / 0.5269 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3483/1.446, allocations: 4.555 MB / 0.5314 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-05/1.446, allocations: 19.48 kB / 0.5314 GB, free: 137.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01583/1.462, allocations: 4.995 MB / 0.5363 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/1.464, allocations: 0.5343 MB / 0.5368 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009048/1.465, allocations: 64.02 kB / 0.5368 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003363/1.469, allocations: 127.8 kB / 0.537 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008394/1.47, allocations: 205.2 kB / 0.5372 GB, free: 134.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003671/1.47, allocations: 88.31 kB / 0.5372 GB, free: 134.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00438/1.474, allocations: 1.294 MB / 0.5385 GB, free: 134.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.31e-07/1.474, allocations: 3.828 kB / 0.5385 GB, free: 134.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01025/1.485, allocations: 1.434 MB / 0.5399 GB, free: 133.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 (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.00141/1.486, allocations: 213.3 kB / 0.5401 GB, free: 133.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01227/1.498, allocations: 3.628 MB / 0.5437 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.973e-05/1.499, allocations: 2.156 kB / 0.5437 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005565/1.504, allocations: 1.696 MB / 0.5453 GB, free: 131.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006718/1.511, allocations: 499.2 kB / 0.5458 GB, free: 131.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03277/1.544, allocations: 12.45 MB / 0.5579 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00819/1.552, allocations: 3.902 MB / 0.5618 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/1.554, allocations: 216.1 kB / 0.562 GB, free: 122.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.484e-06/1.554, allocations: 0 / 0.562 GB, free: 122.4 MB / 446.1 MB Notification: Performance of Templates: time 0.2229/1.777, allocations: 123.7 MB / 0.6827 GB, free: 5.859 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches