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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.001065, allocations: 187 kB / 17.91 MB, free: 3.855 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.21/1.21, allocations: 205.1 MB / 223.8 MB, free: 8.48 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.0008702/0.0008701, allocations: 109.3 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008279/0.0008281, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1883, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01051/0.1989, allocations: 14.38 MB / 388.2 MB, free: 34.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006191/0.2051, allocations: 3.923 MB / 392.1 MB, free: 31.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.2062, allocations: 81.41 kB / 392.2 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007666/0.2139, allocations: 5.318 MB / 397.5 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003586/0.2175, allocations: 1.583 MB / 399.1 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.2193, allocations: 1.015 MB / 400.1 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004696/0.224, allocations: 6.797 MB / 406.9 MB, free: 16.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.2354, allocations: 11.55 MB / 418.5 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.2385, allocations: 3.17 MB / 421.6 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004168/0.2426, allocations: 4.021 MB / 425.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.2437, allocations: 0.6953 MB / 426.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.2454, allocations: 0.8748 MB / 427.2 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.2466, allocations: 1.706 MB / 428.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003571/0.2502, allocations: 3.559 MB / 432.5 MB, free: 6.613 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00906/0.2593, allocations: 12.15 MB / 444.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2593, allocations: 0 / 444.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2593, allocations: 0 / 444.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001438/0.2595, allocations: 0 / 444.6 MB, free: 10.43 MB / 330.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.01681/0.2763, allocations: 8.337 MB / 453 MB, free: 2.012 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2763, allocations: 12.03 kB / 453 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02751/0.3039, allocations: 5.064 MB / 458.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007533/0.3114, allocations: 3.543 MB / 461.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003887/0.3119, allocations: 0.5058 MB / 462.1 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/0.3139, allocations: 0.6678 MB / 462.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.3352, allocations: 10.48 MB / 473.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001903/0.3354, allocations: 19.89 kB / 473.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/0.3367, allocations: 283.9 kB / 473.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003491/0.3371, allocations: 394.6 kB / 473.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.3533, allocations: 9.629 MB / 483.6 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1882/0.5415, allocations: 31.86 MB / 0.5033 GB, free: 90.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.5534, allocations: 22.91 MB / 0.5257 GB, free: 68.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/0.5556, allocations: 1.949 MB / 0.5276 GB, free: 67.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007836/0.5635, allocations: 6.242 MB / 0.5337 GB, free: 62.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5635, allocations: 55.62 kB / 0.5338 GB, free: 62.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 3.026e-06/0.5635, allocations: 0 / 0.5338 GB, free: 62.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.004995/0.5685, allocations: 3.174 MB / 0.5369 GB, free: 60.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.5686, allocations: 96.89 kB / 0.537 GB, free: 60.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.5713, allocations: 2.613 MB / 0.5395 GB, free: 59.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.756e-05/0.5714, allocations: 56.55 kB / 0.5396 GB, free: 59.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.5725, allocations: 3.114 MB / 0.5426 GB, free: 56.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.5728, allocations: 0.548 MB / 0.5431 GB, free: 56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009054/0.5738, allocations: 0.7979 MB / 0.5439 GB, free: 55.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.5738, allocations: 305.1 kB / 0.5442 GB, free: 54.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.5754, allocations: 1.468 MB / 0.5457 GB, free: 53.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.5775, allocations: 3.26 MB / 0.5488 GB, free: 49.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/0.581, allocations: 4.824 MB / 0.5535 GB, free: 43.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.581, allocations: 16 kB / 0.5536 GB, free: 43.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005602/0.5866, allocations: 5.09 MB / 0.5585 GB, free: 38.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.5867, allocations: 35.94 kB / 0.5586 GB, free: 38.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.72e-05/0.5867, allocations: 60 kB / 0.5586 GB, free: 38.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/0.5873, allocations: 338.3 kB / 0.5589 GB, free: 38.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/0.5896, allocations: 0.8852 MB / 0.5598 GB, free: 37.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.593, allocations: 4.638 MB / 0.5643 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.5953, allocations: 0.53 MB / 0.5649 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.5955, allocations: 216 kB / 0.5651 GB, free: 31.64 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 (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.00247/0.598, allocations: 2.331 MB / 0.5673 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.5983, allocations: 225.1 kB / 0.5676 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.6012, allocations: 2.328 MB / 0.5698 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.6012, allocations: 16 kB / 0.5698 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6012, allocations: 4 kB / 0.5698 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.6013, allocations: 11.91 kB / 0.5699 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005984/0.6072, allocations: 5.336 MB / 0.5751 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6073, allocations: 4.094 kB / 0.5751 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009593/0.6082, allocations: 255.7 kB / 0.5753 GB, free: 21.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/0.6087, allocations: 253.5 kB / 0.5756 GB, free: 20.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.427e-05/0.6088, allocations: 33.88 kB / 0.5756 GB, free: 20.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003198/0.612, allocations: 4.521 MB / 0.58 GB, free: 16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.612, allocations: 0 / 0.58 GB, free: 16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006178/0.6182, allocations: 6.741 MB / 0.5866 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/0.6189, allocations: 465.8 kB / 0.587 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.6191, allocations: 24 kB / 0.5871 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009683/0.62, allocations: 99.89 kB / 0.5871 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.6202, allocations: 105.4 kB / 0.5872 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/0.6203, allocations: 43.98 kB / 0.5873 GB, free: 8.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001569/0.6219, allocations: 1.718 MB / 0.589 GB, free: 6.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6219, allocations: 0 / 0.589 GB, free: 6.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003376/0.6253, allocations: 1.664 MB / 0.5906 GB, free: 4.941 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 (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.0002516/0.6255, allocations: 177.3 kB / 0.5908 GB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003948/0.6295, allocations: 3.51 MB / 0.5942 GB, free: 1.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6295, allocations: 4 kB / 0.5942 GB, free: 1.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.6308, allocations: 1.262 MB / 0.5954 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.6328, allocations: 460.4 kB / 0.5959 GB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.6483, allocations: 13.49 MB / 0.609 GB, free: 1.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/0.6519, allocations: 4.218 MB / 0.6132 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003238/0.6552, allocations: 1.291 MB / 0.6144 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.6556, allocations: 183.4 kB / 0.6146 GB, free: 12.25 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6556, allocations: 0 / 0.6146 GB, free: 12.25 MB / 410.7 MB Notification: Performance of Templates: time 0.04643/0.7021, allocations: 30.59 MB / 0.6445 GB, free: 13.71 MB / 442.7 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@2/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_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches