Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001026, allocations: 108.8 kB / 16.51 MB, free: 6.707 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.0009924/0.0009924, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009401/0.0009402, allocations: 50.14 kB / 300 MB, free: 6.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08743/0.08838, allocations: 49.44 MB / 349.4 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009859/0.09828, allocations: 9.004 MB / 358.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004567/0.1029, allocations: 2.558 MB / 361 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.1045, allocations: 71.81 kB / 361 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007169/0.1118, allocations: 3.551 MB / 364.6 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.1141, allocations: 0.8085 MB / 365.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1156, allocations: 0.7444 MB / 366.1 MB, free: 4.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00317/0.1188, allocations: 3.458 MB / 369.6 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1596/0.2784, allocations: 8.03 MB / 377.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.2813, allocations: 1.878 MB / 379.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003264/0.2846, allocations: 2.324 MB / 381.8 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000811/0.2854, allocations: 457 kB / 382.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.2869, allocations: 0.6517 MB / 382.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007174/0.2877, allocations: 0.9677 MB / 383.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002045/0.2897, allocations: 2.13 MB / 386 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005877/0.2956, allocations: 7.75 MB / 393.8 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2956, allocations: 0 / 393.8 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2957, allocations: 1.344 kB / 393.8 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001389/0.2958, allocations: 4 kB / 393.8 MB, free: 0.8555 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01157/0.3074, allocations: 4.867 MB / 398.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3074, allocations: 13.31 kB / 398.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007461/0.3149, allocations: 1.272 MB / 399.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004132/0.3191, allocations: 2.228 MB / 402.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.3193, allocations: 310.9 kB / 402.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006178/0.3199, allocations: 415.8 kB / 402.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009759/0.3297, allocations: 5.494 MB / 408.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.739e-05/0.3298, allocations: 0 / 408.4 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000397/0.3302, allocations: 176 kB / 408.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.3304, allocations: 176.6 kB / 408.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008053/0.3384, allocations: 4.816 MB / 413.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0266/0.3651, allocations: 19.31 MB / 432.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004658/0.3698, allocations: 3.93 MB / 436.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.3711, allocations: 0.8214 MB / 437.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.3712, allocations: 113.6 kB / 437.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3713, allocations: 47.5 kB / 437.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.015e-06/0.3713, allocations: 0 / 437.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002584/0.3739, allocations: 1.681 MB / 439.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.3739, allocations: 60.41 kB / 439.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.3758, allocations: 1.334 MB / 440.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.3758, allocations: 41.7 kB / 440.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.3769, allocations: 1.752 MB / 442.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.3772, allocations: 382.7 kB / 443 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006064/0.3778, allocations: 455.5 kB / 443.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3779, allocations: 349.9 kB / 443.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.3791, allocations: 0.8747 MB / 444.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.381, allocations: 1.862 MB / 446.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/0.3841, allocations: 2.868 MB / 449.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.3842, allocations: 16 kB / 449.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004023/0.3882, allocations: 2.811 MB / 452.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.3882, allocations: 23.94 kB / 452.2 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.414e-05/0.3883, allocations: 32 kB / 452.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.897e-05/0.3883, allocations: 48 kB / 452.3 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.39, allocations: 0.5228 MB / 452.8 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.518e-05/0.39, allocations: 65.02 kB / 452.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.3914, allocations: 289.4 kB / 453.2 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.3915, allocations: 122.5 kB / 453.3 MB, free: 7.578 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002045/0.3936, allocations: 1.487 MB / 454.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.3938, allocations: 130.3 kB / 454.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.396, allocations: 1.538 MB / 456.4 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001487/0.3975, allocations: 1.117 MB / 457.6 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3976, allocations: 0 / 457.6 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.3976, allocations: 7.969 kB / 457.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.4136, allocations: 12.38 MB / 469.9 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/0.4137, allocations: 24 kB / 470 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000803/0.4145, allocations: 231.1 kB / 470.2 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.459e-05/0.4145, allocations: 28 kB / 470.2 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.241e-05/0.4146, allocations: 48 kB / 470.3 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.498e-05/0.4146, allocations: 42.2 kB / 470.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.089e-05/0.4147, allocations: 42.23 kB / 470.3 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.4179, allocations: 2.79 MB / 473.1 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006361/0.4186, allocations: 339.2 kB / 473.5 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.4188, allocations: 55.97 kB / 473.5 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/0.4196, allocations: 67.89 kB / 473.6 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.4198, allocations: 145.3 kB / 473.7 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.4199, allocations: 71.27 kB / 473.8 MB, free: 2.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.4211, allocations: 0.9023 MB / 474.7 MB, free: 1.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4211, allocations: 0 / 474.7 MB, free: 1.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002456/0.4235, allocations: 0.874 MB / 475.6 MB, free: 0.5039 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004129/0.424, allocations: 220.2 kB / 475.8 MB, free: 312 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.4267, allocations: 1.95 MB / 477.7 MB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.4267, allocations: 8.062 kB / 477.8 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008654/0.4276, allocations: 0.6716 MB / 478.4 MB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.4295, allocations: 330.1 kB / 478.7 MB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.4403, allocations: 8.117 MB / 486.9 MB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.4428, allocations: 2.809 MB / 489.7 MB, free: 2.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001864/0.4447, allocations: 0.7617 MB / 490.4 MB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.445, allocations: 111.4 kB / 490.5 MB, free: 1.434 MB / 398.1 MB Notification: Performance of SimCode: time 1.392e-06/0.445, allocations: 0 / 490.5 MB, free: 1.434 MB / 398.1 MB Notification: Performance of Templates: time 0.0299/0.4749, allocations: 16.7 MB / 0.4954 GB, free: 0.9062 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches