Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001588/0.001588, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001871/0.001871, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.77 kB / 306.9 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.09946, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01061/0.1101, allocations: 9.028 MB / 366.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005899/0.1161, allocations: 2.628 MB / 369.1 MB, free: 2.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.1173, allocations: 71.81 kB / 369.2 MB, free: 2.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1904/0.3078, allocations: 3.535 MB / 372.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.3103, allocations: 0.6533 MB / 373.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.312, allocations: 0.8874 MB / 374.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003327/0.3153, allocations: 3.449 MB / 377.7 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009901/0.3252, allocations: 8.039 MB / 385.7 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003212/0.3285, allocations: 1.894 MB / 387.6 MB, free: 4.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003944/0.3325, allocations: 2.312 MB / 389.9 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.3336, allocations: 457.3 kB / 390.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.3355, allocations: 0.6774 MB / 391.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008492/0.3363, allocations: 0.9609 MB / 392 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002612/0.339, allocations: 2.139 MB / 394.2 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.3444, allocations: 6.843 MB / 401 MB, free: 13.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3444, allocations: 0 / 401 MB, free: 13.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3444, allocations: 0 / 401 MB, free: 13.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001873/0.3446, allocations: 3.25 kB / 401 MB, free: 13.68 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01399/0.3586, allocations: 4.867 MB / 405.9 MB, free: 9.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.3587, allocations: 12.03 kB / 405.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00776/0.3664, allocations: 1.301 MB / 407.2 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004085/0.3706, allocations: 2.229 MB / 409.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.3708, allocations: 311.6 kB / 409.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000795/0.3716, allocations: 415.8 kB / 410.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/0.3829, allocations: 5.495 MB / 415.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.479e-05/0.3831, allocations: 4 kB / 415.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004188/0.3835, allocations: 164 kB / 415.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.3837, allocations: 184.6 kB / 416 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009015/0.3927, allocations: 4.816 MB / 420.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/0.4217, allocations: 19.55 MB / 440.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004606/0.4263, allocations: 3.93 MB / 444.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.4276, allocations: 0.8238 MB / 445.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/0.4279, allocations: 194.9 kB / 445.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4279, allocations: 47.5 kB / 445.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=106): time 3.146e-06/0.4279, allocations: 0 / 445.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.002461/0.4304, allocations: 1.67 MB / 447 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.4304, allocations: 68.39 kB / 447.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.4323, allocations: 1.338 MB / 448.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.4324, allocations: 41.7 kB / 448.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.4334, allocations: 1.746 MB / 450.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.4338, allocations: 385.6 kB / 450.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006249/0.4344, allocations: 455.5 kB / 451 MB, free: 10.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4346, allocations: 345.9 kB / 451.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.4358, allocations: 0.8709 MB / 452.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.4376, allocations: 1.869 MB / 454.1 MB, free: 7.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/0.4407, allocations: 2.879 MB / 457 MB, free: 3.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/0.4407, allocations: 8 kB / 457 MB, free: 3.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003962/0.4447, allocations: 2.808 MB / 459.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.4448, allocations: 19.94 kB / 459.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-05/0.4448, allocations: 39.94 kB / 459.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.883e-05/0.4449, allocations: 48 kB / 459.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.4465, allocations: 0.5231 MB / 460.4 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.611e-05/0.4466, allocations: 75.72 kB / 460.5 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4479, allocations: 289.2 kB / 460.8 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.4481, allocations: 120 kB / 460.9 MB, free: 12 kB / 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.002549/0.4507, allocations: 1.48 MB / 462.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.451, allocations: 126.4 kB / 462.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.4533, allocations: 1.548 MB / 464 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001475/0.4548, allocations: 1.115 MB / 465.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4548, allocations: 0 / 465.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4549, allocations: 3.984 kB / 465.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.4717, allocations: 13.83 MB / 479 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/0.4718, allocations: 20 kB / 479 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/0.4725, allocations: 231.6 kB / 479.2 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.562e-05/0.4726, allocations: 28 kB / 479.3 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.751e-05/0.4727, allocations: 47.98 kB / 479.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.803e-05/0.4727, allocations: 40.45 kB / 479.3 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-05/0.4727, allocations: 35.81 kB / 479.4 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00353/0.4763, allocations: 2.795 MB / 482.2 MB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006726/0.477, allocations: 335.2 kB / 482.5 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.4772, allocations: 51.98 kB / 482.6 MB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.4779, allocations: 71.88 kB / 482.6 MB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/0.4782, allocations: 147.4 kB / 482.8 MB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-05/0.4783, allocations: 60 kB / 482.8 MB, free: 8.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001356/0.4796, allocations: 0.9062 MB / 483.7 MB, free: 7.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4796, allocations: 0 / 483.7 MB, free: 7.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002841/0.4825, allocations: 0.8701 MB / 484.6 MB, free: 6.91 MB / 398.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.0004664/0.483, allocations: 204.9 kB / 484.8 MB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003166/0.4861, allocations: 1.966 MB / 486.8 MB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/0.4862, allocations: 4 kB / 486.8 MB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.4872, allocations: 0.6687 MB / 487.4 MB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.4893, allocations: 342.2 kB / 487.8 MB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.5019, allocations: 8.017 MB / 495.8 MB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/0.5045, allocations: 2.731 MB / 498.5 MB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005137/0.505, allocations: 135.4 kB / 498.7 MB, free: 8.5 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.505, allocations: 0 / 498.7 MB, free: 8.5 MB / 414.1 MB Notification: Performance of Templates: time 0.04998/0.555, allocations: 35.53 MB / 0.5217 GB, free: 5.062 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches