Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 109.8 kB / 17.74 MB, free: 5.34 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.001985/0.001985, allocations: 193.6 kB / 18.68 MB, free: 4.41 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.4/1.4, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2425, allocations: 49.43 MB / 401.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009796/0.2524, allocations: 9.738 MB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005041/0.2574, allocations: 2.682 MB / 413.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.2588, allocations: 79.75 kB / 413.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008705/0.2675, allocations: 4.184 MB / 418.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003188/0.2708, allocations: 0.9242 MB / 419 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.2729, allocations: 0.8218 MB / 419.8 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004584/0.2775, allocations: 4.058 MB / 423.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01447/0.2919, allocations: 10.95 MB / 434.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/0.2958, allocations: 2.357 MB / 437.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004442/0.3003, allocations: 2.648 MB / 439.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001455/0.3018, allocations: 0.664 MB / 440.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.3041, allocations: 0.8787 MB / 441.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.3058, allocations: 1.235 MB / 442.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003742/0.3095, allocations: 2.56 MB / 445.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008235/0.3178, allocations: 8.889 MB / 454.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3178, allocations: 3.984 kB / 454.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3178, allocations: 0 / 454.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001917/0.318, allocations: 0 / 454.1 MB, free: 4.09 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01329/0.3313, allocations: 5.299 MB / 459.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3314, allocations: 19.83 kB / 459.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007473/0.3389, allocations: 1.299 MB / 460.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004267/0.3432, allocations: 2.591 MB / 463.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.3434, allocations: 353.2 kB / 463.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008423/0.3443, allocations: 460 kB / 464.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.3549, allocations: 6.09 MB / 470.2 MB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-05/0.3551, allocations: 7.906 kB / 470.2 MB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004361/0.3555, allocations: 188 kB / 470.4 MB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/0.3557, allocations: 193.5 kB / 470.6 MB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008561/0.3642, allocations: 5.268 MB / 475.8 MB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02678/0.3911, allocations: 20.72 MB / 496.5 MB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006339/0.3974, allocations: 5.572 MB / 0.4904 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009505/0.3984, allocations: 0.6512 MB / 0.491 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.3986, allocations: 118.1 kB / 0.4911 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3986, allocations: 47.5 kB / 0.4911 GB, free: 1.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.396e-06/0.3986, allocations: 0 / 0.4911 GB, free: 1.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.00208/0.4007, allocations: 1.42 MB / 0.4925 GB, free: 152 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.4008, allocations: 64.41 kB / 0.4926 GB, free: 76 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.4026, allocations: 1.458 MB / 0.494 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.4027, allocations: 41.7 kB / 0.4941 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.4038, allocations: 1.966 MB / 0.496 GB, free: 12.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.404, allocations: 347.3 kB / 0.4963 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005798/0.4046, allocations: 471.6 kB / 0.4968 GB, free: 11.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4048, allocations: 353.9 kB / 0.4971 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4059, allocations: 0.8124 MB / 0.4979 GB, free: 10.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.4077, allocations: 1.945 MB / 0.4998 GB, free: 8.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/0.4106, allocations: 2.924 MB / 0.5026 GB, free: 4.609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.288e-05/0.4106, allocations: 12 kB / 0.5027 GB, free: 4.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003921/0.4146, allocations: 2.793 MB / 0.5054 GB, free: 1.801 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.4146, allocations: 27.94 kB / 0.5054 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.47e-05/0.4147, allocations: 36 kB / 0.5054 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.813e-05/0.4148, allocations: 56 kB / 0.5055 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.4164, allocations: 0.5342 MB / 0.506 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.18e-05/0.4164, allocations: 79.66 kB / 0.5061 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.4177, allocations: 301.5 kB / 0.5064 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.4179, allocations: 128 kB / 0.5065 GB, free: 0.6484 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002315/0.4202, allocations: 1.66 MB / 0.5081 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.4205, allocations: 126.4 kB / 0.5082 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.4226, allocations: 1.338 MB / 0.5096 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001182/0.4238, allocations: 0.9279 MB / 0.5105 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.4238, allocations: 0 / 0.5105 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.4238, allocations: 7.922 kB / 0.5105 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.4391, allocations: 12.2 MB / 0.5224 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/0.4391, allocations: 16 kB / 0.5224 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/0.4399, allocations: 215.8 kB / 0.5226 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.319e-05/0.4399, allocations: 28 kB / 0.5226 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.44, allocations: 43.98 kB / 0.5227 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.195e-05/0.44, allocations: 43.8 kB / 0.5227 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-05/0.44, allocations: 27.88 kB / 0.5227 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.4429, allocations: 2.446 MB / 0.5251 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005153/0.4434, allocations: 327 kB / 0.5254 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.4436, allocations: 47.92 kB / 0.5255 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007024/0.4443, allocations: 59.95 kB / 0.5255 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4445, allocations: 135.5 kB / 0.5257 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/0.4445, allocations: 48 kB / 0.5257 GB, free: 11.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001349/0.4459, allocations: 0.9916 MB / 0.5267 GB, free: 11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4459, allocations: 0 / 0.5267 GB, free: 11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002609/0.4485, allocations: 0.9476 MB / 0.5276 GB, free: 10.04 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003702/0.4489, allocations: 218.6 kB / 0.5278 GB, free: 9.816 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00271/0.4516, allocations: 1.861 MB / 0.5296 GB, free: 7.953 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.4516, allocations: 4.375 kB / 0.5296 GB, free: 7.949 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007766/0.4524, allocations: 0.5727 MB / 0.5302 GB, free: 7.379 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.4546, allocations: 385.7 kB / 0.5306 GB, free: 7.008 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2162/0.6709, allocations: 6.71 MB / 0.5371 GB, free: 127 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/0.6752, allocations: 2.993 MB / 0.54 GB, free: 126.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.6757, allocations: 135.8 kB / 0.5402 GB, free: 126.2 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6757, allocations: 0 / 0.5402 GB, free: 126.2 MB / 462.1 MB Notification: Performance of Templates: time 0.04314/0.7188, allocations: 38.52 MB / 0.5778 GB, free: 97.32 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches