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.001125/0.001125, allocations: 102.3 kB / 17.74 MB, free: 5.332 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.001153/0.001153, allocations: 185.4 kB / 18.67 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.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009723/0.0009724, allocations: 51.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2162, allocations: 49.43 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.009714/0.2259, allocations: 9.742 MB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.23, allocations: 2.682 MB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008819/0.2309, allocations: 75.81 kB / 413.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008298/0.2392, allocations: 4.196 MB / 418.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.2425, allocations: 0.9242 MB / 419 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.2442, allocations: 0.83 MB / 419.9 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003819/0.2481, allocations: 4.07 MB / 423.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01184/0.2599, allocations: 10.95 MB / 434.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.2626, allocations: 2.357 MB / 437.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003271/0.2659, allocations: 2.647 MB / 439.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000897/0.2668, allocations: 0.6641 MB / 440.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.2683, allocations: 0.8786 MB / 441.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000942/0.2693, allocations: 1.235 MB / 442.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.2715, allocations: 2.56 MB / 445.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00736/0.2789, allocations: 8.909 MB / 454.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2789, allocations: 4 kB / 454.1 MB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2789, allocations: 0 / 454.1 MB, free: 3.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.2791, allocations: 0 / 454.1 MB, free: 3.914 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.01187/0.291, allocations: 5.402 MB / 459.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.291, allocations: 11.89 kB / 459.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007639/0.2987, allocations: 1.317 MB / 460.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/0.3031, allocations: 2.604 MB / 463.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.3033, allocations: 349.3 kB / 463.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008733/0.3042, allocations: 459.9 kB / 464.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.3158, allocations: 6.09 MB / 470.4 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.316, allocations: 7.953 kB / 470.4 MB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005401/0.3165, allocations: 188 kB / 470.5 MB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/0.3167, allocations: 197.5 kB / 470.7 MB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009398/0.3261, allocations: 5.276 MB / 476 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.3555, allocations: 20.78 MB / 496.8 MB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006223/0.3618, allocations: 5.568 MB / 0.4906 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009697/0.3628, allocations: 0.659 MB / 0.4912 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.3629, allocations: 106.1 kB / 0.4913 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.363, allocations: 47.5 kB / 0.4914 GB, free: 1.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.637e-06/0.363, allocations: 0 / 0.4914 GB, free: 1.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002222/0.3652, allocations: 1.429 MB / 0.4928 GB, free: 15.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3653, allocations: 64.39 kB / 0.4928 GB, free: 15.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.3676, allocations: 1.458 MB / 0.4943 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.3677, allocations: 41.7 kB / 0.4943 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.369, allocations: 2.041 MB / 0.4963 GB, free: 12.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.3693, allocations: 369.1 kB / 0.4966 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006375/0.37, allocations: 475.9 kB / 0.4971 GB, free: 11.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3701, allocations: 357.9 kB / 0.4974 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.3713, allocations: 0.8085 MB / 0.4982 GB, free: 10.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.3731, allocations: 1.941 MB / 0.5001 GB, free: 7.633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/0.3762, allocations: 2.924 MB / 0.503 GB, free: 4.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-05/0.3762, allocations: 12 kB / 0.503 GB, free: 4.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004096/0.3803, allocations: 2.802 MB / 0.5057 GB, free: 1.344 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.3804, allocations: 20 kB / 0.5057 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.852e-05/0.3805, allocations: 40 kB / 0.5058 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.01e-05/0.3805, allocations: 55.94 kB / 0.5058 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.3822, allocations: 0.5381 MB / 0.5064 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.461e-05/0.3823, allocations: 75.72 kB / 0.5064 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.3836, allocations: 302.3 kB / 0.5067 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.3838, allocations: 127.9 kB / 0.5068 GB, free: 200 kB / 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.002187/0.386, allocations: 1.664 MB / 0.5085 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.3862, allocations: 139 kB / 0.5086 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.3882, allocations: 1.342 MB / 0.5099 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3883, allocations: 7.984 kB / 0.5099 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3883, allocations: 4 kB / 0.5099 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.3887, allocations: 287.9 kB / 0.5102 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.389, allocations: 24 kB / 0.5102 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/0.3895, allocations: 47.89 kB / 0.5103 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3896, allocations: 52.92 kB / 0.5103 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001783/0.3914, allocations: 1.146 MB / 0.5114 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002265/0.3936, allocations: 1.878 MB / 0.5133 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005794/0.3942, allocations: 483.7 kB / 0.5137 GB, free: 9.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.3955, allocations: 0.9916 MB / 0.5147 GB, free: 8.074 MB / 446.1 MB Notification: Performance of Backend: time 5.42e-07/0.3956, allocations: 0 / 0.5147 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002652/0.3982, allocations: 1.58 MB / 0.5162 GB, free: 6.484 MB / 446.1 MB Notification: Performance of SimCode: time 0.01105/0.4093, allocations: 6.688 MB / 0.5228 GB, free: 15.72 MB / 462.1 MB Notification: Performance of Templates: time 0.2232/0.6325, allocations: 22.99 MB / 0.5452 GB, free: 129.3 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