Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) 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 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.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_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_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001574, allocations: 110.5 kB / 17.73 MB, free: 5.289 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.001736/0.001736, allocations: 187 kB / 18.66 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 51.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07873/0.07996, allocations: 46.62 MB / 375.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.1864/0.2664, allocations: 14.6 MB / 389.8 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009075/0.2755, allocations: 3.944 MB / 393.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00282/0.2784, allocations: 84.31 kB / 393.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01133/0.2897, allocations: 5.603 MB / 399.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006544/0.2963, allocations: 1.748 MB / 401.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.2997, allocations: 1.085 MB / 402.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009042/0.3087, allocations: 6.744 MB / 409 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01866/0.3274, allocations: 13.76 MB / 422.7 MB, free: 20 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005995/0.3335, allocations: 3.495 MB / 426.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007058/0.3406, allocations: 4.123 MB / 430.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002591/0.3432, allocations: 0.9219 MB / 431.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.3462, allocations: 1.094 MB / 432.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.3481, allocations: 1.929 MB / 434.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004998/0.3531, allocations: 3.789 MB / 438.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.3643, allocations: 12.39 MB / 450.5 MB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3643, allocations: 3.938 kB / 450.5 MB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3643, allocations: 4 kB / 450.5 MB, free: 4.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002027/0.3645, allocations: 0 / 450.5 MB, free: 4.195 MB / 366.1 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.01997/0.3845, allocations: 8.291 MB / 458.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3845, allocations: 8.031 kB / 458.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0315/0.4161, allocations: 5.076 MB / 463.8 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007711/0.4238, allocations: 3.547 MB / 467.4 MB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004092/0.4242, allocations: 0.5097 MB / 467.9 MB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/0.4261, allocations: 0.6639 MB / 468.6 MB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/0.4464, allocations: 10.48 MB / 479 MB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001363/0.4466, allocations: 11.91 kB / 479 MB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007613/0.4474, allocations: 279.9 kB / 479.3 MB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003773/0.4478, allocations: 386.6 kB / 479.7 MB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.4644, allocations: 9.641 MB / 489.3 MB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04665/0.5111, allocations: 31.5 MB / 0.5086 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/0.5295, allocations: 22.92 MB / 0.531 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/0.5325, allocations: 1.937 MB / 0.5329 GB, free: 116 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009438/0.5419, allocations: 6.238 MB / 0.539 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.542, allocations: 56 kB / 0.539 GB, free: 9.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 3.116e-06/0.542, allocations: 4 kB / 0.5391 GB, free: 9.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.006389/0.5484, allocations: 3.161 MB / 0.5421 GB, free: 6.254 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.5485, allocations: 98.48 kB / 0.5422 GB, free: 6.137 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003865/0.5523, allocations: 2.615 MB / 0.5448 GB, free: 3.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.5525, allocations: 45.7 kB / 0.5448 GB, free: 3.438 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002097/0.5546, allocations: 3.125 MB / 0.5479 GB, free: 276 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.214/0.7686, allocations: 0.5413 MB / 0.5484 GB, free: 130 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/0.77, allocations: 0.7968 MB / 0.5492 GB, free: 129.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.7701, allocations: 307.2 kB / 0.5495 GB, free: 129.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.7724, allocations: 1.463 MB / 0.5509 GB, free: 129.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003245/0.7757, allocations: 3.261 MB / 0.5541 GB, free: 127.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00553/0.7812, allocations: 4.818 MB / 0.5588 GB, free: 125.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.816e-05/0.7813, allocations: 17.78 kB / 0.5588 GB, free: 125.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008304/0.7896, allocations: 5.093 MB / 0.5638 GB, free: 124 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.483e-05/0.7897, allocations: 30.62 kB / 0.5638 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.7899, allocations: 61.19 kB / 0.5639 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009623/0.7909, allocations: 343.5 kB / 0.5642 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.7938, allocations: 0.8787 MB / 0.5651 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004979/0.7988, allocations: 5.064 MB / 0.57 GB, free: 120 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/0.8019, allocations: 0.5438 MB / 0.5705 GB, free: 119.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/0.8022, allocations: 210 kB / 0.5707 GB, free: 119.6 MB / 478.1 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 (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.003255/0.8055, allocations: 2.336 MB / 0.573 GB, free: 118.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.8059, allocations: 222.1 kB / 0.5732 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.8096, allocations: 2.317 MB / 0.5755 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.8097, allocations: 15.88 kB / 0.5755 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.8097, allocations: 3.969 kB / 0.5755 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.8097, allocations: 12.53 kB / 0.5755 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007466/0.8172, allocations: 5.338 MB / 0.5807 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.8172, allocations: 0 / 0.5807 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.8183, allocations: 261.9 kB / 0.581 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005811/0.8189, allocations: 259.4 kB / 0.5812 GB, free: 115.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/0.819, allocations: 31.5 kB / 0.5813 GB, free: 115.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.8229, allocations: 4.934 MB / 0.5861 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.823, allocations: 0 / 0.5861 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/0.8269, allocations: 3.314 MB / 0.5893 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006608/0.8276, allocations: 463.4 kB / 0.5898 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.8279, allocations: 27.81 kB / 0.5898 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.829, allocations: 98.08 kB / 0.5899 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.8292, allocations: 106.1 kB / 0.59 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.8293, allocations: 45.36 kB / 0.59 GB, free: 109.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002112/0.8314, allocations: 1.713 MB / 0.5917 GB, free: 109 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.8314, allocations: 0 / 0.5917 GB, free: 109 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004094/0.8355, allocations: 1.527 MB / 0.5932 GB, free: 108 MB / 478.1 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 (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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.8358, allocations: 178.2 kB / 0.5934 GB, free: 107.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004568/0.8404, allocations: 3.516 MB / 0.5968 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.8404, allocations: 4 kB / 0.5968 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.8419, allocations: 1.257 MB / 0.598 GB, free: 103.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.8443, allocations: 0.4934 MB / 0.5985 GB, free: 103.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/0.8589, allocations: 9.853 MB / 0.6081 GB, free: 94.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003212/0.8622, allocations: 4.179 MB / 0.6122 GB, free: 90 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003019/0.8652, allocations: 1.283 MB / 0.6135 GB, free: 88.71 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.8657, allocations: 187.4 kB / 0.6136 GB, free: 88.52 MB / 478.1 MB Notification: Performance of SimCode: time 1.413e-06/0.8657, allocations: 0 / 0.6136 GB, free: 88.52 MB / 478.1 MB Notification: Performance of Templates: time 0.04563/0.9114, allocations: 31.77 MB / 0.6447 GB, free: 56.82 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches