Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 174 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 222.9 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007555/0.0007554, allocations: 85.48 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.224, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.009837/0.2339, allocations: 12.64 MB / 387.7 MB, free: 35.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007728/0.2417, allocations: 3.62 MB / 391.3 MB, free: 32.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/0.2442, allocations: 83.75 kB / 391.4 MB, free: 32.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.2457, allocations: 0.5706 MB / 392 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00444/0.2501, allocations: 1.5 MB / 393.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.2522, allocations: 0.8626 MB / 394.4 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009489/0.2617, allocations: 9.527 MB / 403.9 MB, free: 19.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01979/0.2815, allocations: 13.9 MB / 417.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.2852, allocations: 2.503 MB / 420.3 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004184/0.2894, allocations: 3.059 MB / 423.4 MB, free: 268 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.2909, allocations: 392 kB / 423.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.2938, allocations: 0.5545 MB / 424.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.2958, allocations: 1.234 MB / 425.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004906/0.3007, allocations: 2.934 MB / 428.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.3107, allocations: 10.31 MB / 438.8 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3108, allocations: 0 / 438.8 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3108, allocations: 0 / 438.8 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003628/0.3111, allocations: 0 / 438.8 MB, free: 0.7969 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01714/0.3283, allocations: 6.909 MB / 445.7 MB, free: 9.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3284, allocations: 8.031 kB / 445.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02861/0.357, allocations: 5.1 MB / 450.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007834/0.3648, allocations: 3.554 MB / 454.3 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005282/0.3654, allocations: 0.5097 MB / 454.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002877/0.3683, allocations: 0.664 MB / 455.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02355/0.3919, allocations: 10.43 MB / 465.9 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.3921, allocations: 7.906 kB / 465.9 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009064/0.393, allocations: 287.9 kB / 466.2 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003765/0.3934, allocations: 390.6 kB / 466.6 MB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.4124, allocations: 9.583 MB / 476.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2634/0.6759, allocations: 31.96 MB / 0.4962 GB, free: 88.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/0.6909, allocations: 22.87 MB / 0.5186 GB, free: 67.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002741/0.6937, allocations: 1.926 MB / 0.5205 GB, free: 67.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009077/0.7028, allocations: 6.25 MB / 0.5266 GB, free: 65.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.7029, allocations: 55.19 kB / 0.5266 GB, free: 65.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 3.977e-06/0.7029, allocations: 0 / 0.5266 GB, free: 65.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.005678/0.7086, allocations: 3.178 MB / 0.5297 GB, free: 64.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.7087, allocations: 97.67 kB / 0.5298 GB, free: 63.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003528/0.7122, allocations: 2.593 MB / 0.5323 GB, free: 62.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.7124, allocations: 49.36 kB / 0.5324 GB, free: 62.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.7138, allocations: 3.113 MB / 0.5354 GB, free: 60.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004258/0.7142, allocations: 0.5492 MB / 0.536 GB, free: 59.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.7144, allocations: 82.75 kB / 0.5361 GB, free: 59.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.7146, allocations: 470.2 kB / 0.5365 GB, free: 59.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.7165, allocations: 1.446 MB / 0.5379 GB, free: 58.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.7189, allocations: 3.251 MB / 0.5411 GB, free: 55.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004369/0.7233, allocations: 4.794 MB / 0.5458 GB, free: 51.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-05/0.7234, allocations: 19.88 kB / 0.5458 GB, free: 51.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.00664/0.73, allocations: 5.048 MB / 0.5507 GB, free: 46.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.7301, allocations: 34.3 kB / 0.5507 GB, free: 46.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.946e-05/0.7301, allocations: 60 kB / 0.5508 GB, free: 46.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007235/0.7309, allocations: 345.2 kB / 0.5511 GB, free: 45.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/0.7334, allocations: 0.8813 MB / 0.552 GB, free: 44.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.7372, allocations: 4.65 MB / 0.5565 GB, free: 40.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.7401, allocations: 0.5379 MB / 0.5571 GB, free: 39.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.7404, allocations: 212 kB / 0.5573 GB, free: 39.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003622/0.744, allocations: 2.331 MB / 0.5595 GB, free: 36.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.7444, allocations: 223.2 kB / 0.5598 GB, free: 36.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.7478, allocations: 2.309 MB / 0.562 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.7478, allocations: 16 kB / 0.562 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.7478, allocations: 4 kB / 0.562 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.7479, allocations: 11.97 kB / 0.562 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007562/0.7554, allocations: 5.339 MB / 0.5673 GB, free: 28.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.7555, allocations: 0 / 0.5673 GB, free: 28.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7565, allocations: 255.6 kB / 0.5675 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005581/0.7571, allocations: 253.6 kB / 0.5677 GB, free: 28.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.639e-05/0.7572, allocations: 36 kB / 0.5678 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003743/0.761, allocations: 4.526 MB / 0.5722 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.761, allocations: 0 / 0.5722 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.7649, allocations: 3.283 MB / 0.5754 GB, free: 20.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009093/0.7658, allocations: 0.4976 MB / 0.5759 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.766, allocations: 28 kB / 0.5759 GB, free: 19.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009622/0.767, allocations: 95.97 kB / 0.576 GB, free: 19.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.7672, allocations: 105.3 kB / 0.5761 GB, free: 19.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/0.7673, allocations: 47.98 kB / 0.5761 GB, free: 19.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002178/0.7695, allocations: 1.694 MB / 0.5778 GB, free: 17.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7695, allocations: 0 / 0.5778 GB, free: 17.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003975/0.7735, allocations: 1.515 MB / 0.5793 GB, free: 16.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003326/0.7738, allocations: 167.2 kB / 0.5794 GB, free: 16.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005021/0.7788, allocations: 3.498 MB / 0.5829 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7789, allocations: 4.062 kB / 0.5829 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.7805, allocations: 1.256 MB / 0.5841 GB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.7832, allocations: 471.8 kB / 0.5845 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/0.7996, allocations: 12.06 MB / 0.5963 GB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004115/0.8038, allocations: 4.066 MB / 0.6003 GB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.8048, allocations: 231.4 kB / 0.6005 GB, free: 10.48 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.8048, allocations: 0 / 0.6005 GB, free: 10.48 MB / 394.7 MB Notification: Performance of Templates: time 0.3373/1.142, allocations: 129.7 MB / 0.7272 GB, free: 97.44 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches