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.001135/0.001135, allocations: 107.3 kB / 18.35 MB, free: 4.77 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.001071/0.001071, allocations: 188.1 kB / 19.29 MB, free: 3.844 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.304/1.304, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001408/0.001409, allocations: 51.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08747, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01401/0.1015, allocations: 14.61 MB / 343.4 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008164/0.1097, allocations: 3.918 MB / 347.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003456/0.1133, allocations: 87.75 kB / 347.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.1256, allocations: 5.601 MB / 353 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006589/0.1322, allocations: 1.745 MB / 354.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.1358, allocations: 1.099 MB / 355.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009702/0.1455, allocations: 6.746 MB / 362.5 MB, free: 1.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.028/0.1736, allocations: 13.75 MB / 376.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004896/0.1785, allocations: 3.487 MB / 379.8 MB, free: 436 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1571/0.3356, allocations: 4.112 MB / 383.9 MB, free: 25.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002859/0.3385, allocations: 0.9163 MB / 384.8 MB, free: 25.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003857/0.3423, allocations: 1.104 MB / 385.9 MB, free: 25.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003024/0.3454, allocations: 1.936 MB / 387.8 MB, free: 25.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006148/0.3516, allocations: 3.796 MB / 391.6 MB, free: 23.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009109/0.3607, allocations: 12.38 MB / 404 MB, free: 18.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3607, allocations: 4.031 kB / 404 MB, free: 18.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3607, allocations: 0 / 404 MB, free: 18.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002067/0.3609, allocations: 0 / 404 MB, free: 18.16 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.0167/0.3776, allocations: 8.3 MB / 412.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.3777, allocations: 11.09 kB / 412.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02878/0.4065, allocations: 5.07 MB / 417.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007634/0.4141, allocations: 3.549 MB / 421 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.4144, allocations: 0.5087 MB / 421.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.4163, allocations: 0.6667 MB / 422.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.4323, allocations: 10.48 MB / 432.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.4324, allocations: 8 kB / 432.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006822/0.4331, allocations: 287 kB / 432.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003336/0.4334, allocations: 382.6 kB / 433.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/0.4494, allocations: 9.629 MB / 442.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04602/0.4955, allocations: 31.5 MB / 474.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01658/0.5121, allocations: 22.91 MB / 497.3 MB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/0.5148, allocations: 1.949 MB / 499.3 MB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009639/0.5244, allocations: 6.228 MB / 0.4936 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.5245, allocations: 52 kB / 0.4937 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 2.856e-06/0.5245, allocations: 0 / 0.4937 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.005819/0.5303, allocations: 3.183 MB / 0.4968 GB, free: 12.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.5304, allocations: 98.55 kB / 0.4969 GB, free: 11.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/0.5336, allocations: 2.615 MB / 0.4995 GB, free: 9.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/0.5337, allocations: 45.7 kB / 0.4995 GB, free: 9.238 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001618/0.5353, allocations: 3.115 MB / 0.5025 GB, free: 6.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/0.5357, allocations: 0.5482 MB / 0.5031 GB, free: 5.562 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.5368, allocations: 0.8014 MB / 0.5039 GB, free: 4.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.5369, allocations: 301.1 kB / 0.5041 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.5388, allocations: 1.464 MB / 0.5056 GB, free: 2.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/0.5418, allocations: 3.268 MB / 0.5088 GB, free: 14.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005012/0.5468, allocations: 4.816 MB / 0.5135 GB, free: 9.484 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.021e-05/0.5469, allocations: 16 kB / 0.5135 GB, free: 9.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007341/0.5542, allocations: 5.093 MB / 0.5185 GB, free: 4.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.5543, allocations: 32 kB / 0.5185 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.335e-05/0.5543, allocations: 60 kB / 0.5185 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007541/0.5551, allocations: 336.7 kB / 0.5189 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.5578, allocations: 0.8786 MB / 0.5197 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/0.5628, allocations: 5.067 MB / 0.5247 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.5657, allocations: 0.5418 MB / 0.5252 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/0.566, allocations: 208 kB / 0.5254 GB, free: 13.45 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.004102/0.5701, allocations: 2.328 MB / 0.5277 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.5705, allocations: 229.1 kB / 0.5279 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.5745, allocations: 2.326 MB / 0.5302 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.5745, allocations: 12 kB / 0.5302 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.5745, allocations: 8 kB / 0.5302 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.5745, allocations: 11.97 kB / 0.5302 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009536/0.5841, allocations: 5.335 MB / 0.5354 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.5841, allocations: 0 / 0.5354 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.5853, allocations: 258 kB / 0.5357 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006438/0.586, allocations: 257.7 kB / 0.5359 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.3e-05/0.5861, allocations: 35.44 kB / 0.5359 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1581/0.7442, allocations: 4.926 MB / 0.5407 GB, free: 154.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7442, allocations: 5 kB / 0.5407 GB, free: 154.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004952/0.7492, allocations: 3.309 MB / 0.544 GB, free: 153.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.7503, allocations: 464.4 kB / 0.5444 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/0.7506, allocations: 28.19 kB / 0.5444 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.7517, allocations: 96.53 kB / 0.5445 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.7519, allocations: 104.9 kB / 0.5446 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.752, allocations: 49.38 kB / 0.5447 GB, free: 153.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002365/0.7543, allocations: 1.717 MB / 0.5464 GB, free: 152.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7543, allocations: 0 / 0.5464 GB, free: 152.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004216/0.7586, allocations: 1.524 MB / 0.5479 GB, free: 152.4 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.0003687/0.7589, allocations: 171.6 kB / 0.548 GB, free: 152.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005068/0.764, allocations: 3.515 MB / 0.5514 GB, free: 151 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.7641, allocations: 0.9062 kB / 0.5514 GB, free: 151 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.7658, allocations: 1.268 MB / 0.5527 GB, free: 150.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.7682, allocations: 497 kB / 0.5532 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.7838, allocations: 9.858 MB / 0.5628 GB, free: 146 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003588/0.7875, allocations: 4.177 MB / 0.5669 GB, free: 144.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002894/0.7904, allocations: 1.287 MB / 0.5681 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.7909, allocations: 183.8 kB / 0.5683 GB, free: 144.2 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.7909, allocations: 0 / 0.5683 GB, free: 144.2 MB / 446.1 MB Notification: Performance of Templates: time 0.04654/0.8374, allocations: 30.59 MB / 0.5982 GB, free: 117.7 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/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