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.001224/0.001224, allocations: 97.98 kB / 17.58 MB, free: 5.418 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.001292/0.001292, allocations: 192 kB / 18.51 MB, free: 4.508 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.289/1.289, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001231/0.001231, allocations: 47.92 kB / 280.6 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.087/0.08824, allocations: 46.63 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01453/0.1028, allocations: 14.61 MB / 341.9 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008279/0.1111, allocations: 3.93 MB / 345.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.1137, allocations: 83.81 kB / 345.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.1257, allocations: 5.601 MB / 351.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005909/0.1316, allocations: 1.745 MB / 353.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.1345, allocations: 1.095 MB / 354.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007494/0.142, allocations: 6.688 MB / 361 MB, free: 2.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/0.1592, allocations: 13.81 MB / 374.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004608/0.1639, allocations: 3.483 MB / 378.3 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1606/0.3245, allocations: 4.126 MB / 382.5 MB, free: 24.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002346/0.3269, allocations: 0.9167 MB / 383.4 MB, free: 24.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.3304, allocations: 1.106 MB / 384.5 MB, free: 24.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001721/0.3321, allocations: 1.93 MB / 386.4 MB, free: 24.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007103/0.3392, allocations: 3.795 MB / 390.2 MB, free: 23.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.3505, allocations: 12.3 MB / 402.5 MB, free: 17.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3506, allocations: 0 / 402.5 MB, free: 17.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3506, allocations: 0 / 402.5 MB, free: 17.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003273/0.3509, allocations: 0 / 402.5 MB, free: 17.82 MB / 318.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.01929/0.3702, allocations: 8.299 MB / 410.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3703, allocations: 11.53 kB / 410.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02917/0.3995, allocations: 5.074 MB / 415.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00715/0.4066, allocations: 3.547 MB / 419.4 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/0.4069, allocations: 0.5081 MB / 419.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00227/0.4092, allocations: 0.6689 MB / 420.6 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.4279, allocations: 10.47 MB / 431.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002048/0.4282, allocations: 7.984 kB / 431.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001341/0.4295, allocations: 277.5 kB / 431.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003631/0.4299, allocations: 386.6 kB / 431.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0176/0.4475, allocations: 9.633 MB / 441.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05528/0.5028, allocations: 31.86 MB / 473.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01807/0.5209, allocations: 22.9 MB / 496.1 MB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/0.5237, allocations: 1.943 MB / 498.1 MB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00973/0.5335, allocations: 6.247 MB / 0.4925 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.5336, allocations: 51.98 kB / 0.4926 GB, free: 15.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.146e-06/0.5336, allocations: 2.812 kB / 0.4926 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.006191/0.5398, allocations: 3.181 MB / 0.4957 GB, free: 11.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.5399, allocations: 94.55 kB / 0.4958 GB, free: 11.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/0.5437, allocations: 2.615 MB / 0.4983 GB, free: 9.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.5438, allocations: 49.7 kB / 0.4984 GB, free: 9.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/0.5459, allocations: 3.119 MB / 0.5014 GB, free: 6.043 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005687/0.5464, allocations: 0.553 MB / 0.5019 GB, free: 5.496 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.5476, allocations: 0.7975 MB / 0.5027 GB, free: 4.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5478, allocations: 305.1 kB / 0.503 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.5499, allocations: 1.464 MB / 0.5044 GB, free: 2.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003313/0.5532, allocations: 3.258 MB / 0.5076 GB, free: 14.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005024/0.5582, allocations: 4.82 MB / 0.5123 GB, free: 9.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.473e-05/0.5583, allocations: 20 kB / 0.5124 GB, free: 9.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007506/0.5658, allocations: 5.089 MB / 0.5173 GB, free: 4.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.5659, allocations: 31.98 kB / 0.5174 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.638e-05/0.566, allocations: 64 kB / 0.5174 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007828/0.5667, allocations: 340.5 kB / 0.5177 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/0.5698, allocations: 0.875 MB / 0.5186 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005105/0.5749, allocations: 5.072 MB / 0.5235 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/0.5781, allocations: 0.5378 MB / 0.5241 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000328/0.5785, allocations: 212 kB / 0.5243 GB, free: 13.39 MB / 446.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.003443/0.5819, allocations: 2.325 MB / 0.5265 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/0.5823, allocations: 225.1 kB / 0.5268 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/0.5859, allocations: 2.327 MB / 0.529 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.586, allocations: 20 kB / 0.529 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.586, allocations: 12 kB / 0.5291 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.586, allocations: 7.969 kB / 0.5291 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007678/0.5937, allocations: 5.332 MB / 0.5343 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.5937, allocations: 7.984 kB / 0.5343 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.5949, allocations: 258.6 kB / 0.5345 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006159/0.5955, allocations: 261.6 kB / 0.5348 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.933e-05/0.5956, allocations: 35.98 kB / 0.5348 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1868/0.7824, allocations: 4.93 MB / 0.5396 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.7825, allocations: 5.266 kB / 0.5396 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004918/0.7874, allocations: 3.3 MB / 0.5429 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000846/0.7883, allocations: 466.7 kB / 0.5433 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.7886, allocations: 29.53 kB / 0.5433 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.7896, allocations: 94.59 kB / 0.5434 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.7898, allocations: 113.7 kB / 0.5435 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.032e-05/0.7899, allocations: 47.22 kB / 0.5436 GB, free: 153.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002465/0.7924, allocations: 1.718 MB / 0.5452 GB, free: 152.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7924, allocations: 0 / 0.5452 GB, free: 152.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004272/0.7967, allocations: 1.521 MB / 0.5467 GB, free: 152.3 MB / 446.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.0003327/0.797, allocations: 170.5 kB / 0.5469 GB, free: 152.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006093/0.8031, allocations: 3.818 MB / 0.5506 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.8032, allocations: 0 / 0.5506 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.8048, allocations: 1.26 MB / 0.5519 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.807, allocations: 494.5 kB / 0.5523 GB, free: 150 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.8212, allocations: 9.994 MB / 0.5621 GB, free: 145.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00322/0.8245, allocations: 4.18 MB / 0.5662 GB, free: 144 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003086/0.8276, allocations: 1.286 MB / 0.5674 GB, free: 143.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/0.828, allocations: 180.4 kB / 0.5676 GB, free: 143.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.011e-06/0.828, allocations: 4 kB / 0.5676 GB, free: 143.8 MB / 446.1 MB Notification: Performance of Templates: time 0.0457/0.8737, allocations: 30.84 MB / 0.5977 GB, free: 116.9 MB / 446.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