Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 104.9 kB / 17.72 MB, free: 5.242 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.001119/0.001119, allocations: 188.1 kB / 18.66 MB, free: 4.312 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.41/1.41, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001248/0.001248, allocations: 51.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08062/0.08188, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.1751/0.2571, allocations: 10.08 MB / 385.2 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00552/0.2626, allocations: 2.815 MB / 388 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009559/0.2637, allocations: 65.94 kB / 388.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007734/0.2714, allocations: 4.201 MB / 392.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.2744, allocations: 1.044 MB / 393.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.2762, allocations: 0.8312 MB / 394.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004259/0.2805, allocations: 4.282 MB / 398.5 MB, free: 364 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01376/0.2943, allocations: 11.01 MB / 409.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.2981, allocations: 2.446 MB / 411.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003427/0.3015, allocations: 2.792 MB / 414.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008765/0.3024, allocations: 0.6758 MB / 415.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.3041, allocations: 0.8982 MB / 416.3 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.3051, allocations: 1.325 MB / 417.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002422/0.3075, allocations: 2.669 MB / 420.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007748/0.3153, allocations: 9.076 MB / 429.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3153, allocations: 4 kB / 429.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3153, allocations: 0 / 429.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001709/0.3155, allocations: 4 kB / 429.4 MB, free: 9.391 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01273/0.3282, allocations: 5.562 MB / 434.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3283, allocations: 12.03 kB / 434.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/0.3423, allocations: 2.384 MB / 437.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005474/0.3478, allocations: 2.373 MB / 439.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.3481, allocations: 369.7 kB / 440.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008151/0.3489, allocations: 483.9 kB / 440.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.3616, allocations: 6.64 MB / 447.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.974e-05/0.3617, allocations: 11.98 kB / 447.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004917/0.3622, allocations: 192 kB / 447.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.3624, allocations: 234.1 kB / 447.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.3727, allocations: 6.114 MB / 453.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03004/0.4028, allocations: 22.34 MB / 476 MB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.4128, allocations: 10.79 MB / 486.8 MB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.4141, allocations: 0.8149 MB / 487.7 MB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00469/0.4188, allocations: 3.378 MB / 491 MB, free: 8.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.4188, allocations: 42.56 kB / 491.1 MB, free: 8.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.4188, allocations: 0 / 491.1 MB, free: 8.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004499/0.4193, allocations: 231.8 kB / 491.3 MB, free: 8.465 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.4193, allocations: 55.34 kB / 491.4 MB, free: 8.398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/0.4222, allocations: 2.133 MB / 493.5 MB, free: 6.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4222, allocations: 25.7 kB / 493.5 MB, free: 6.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001489/0.4237, allocations: 2.382 MB / 495.9 MB, free: 3.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.4238, allocations: 71.66 kB / 496 MB, free: 3.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007294/0.4245, allocations: 0.5467 MB / 496.5 MB, free: 3.184 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4247, allocations: 357.9 kB / 496.9 MB, free: 2.828 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.4258, allocations: 0.8127 MB / 497.7 MB, free: 2.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002055/0.4279, allocations: 2.227 MB / 499.9 MB, free: 15.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.4308, allocations: 2.968 MB / 0.4911 GB, free: 11.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/0.4308, allocations: 12.25 kB / 0.4911 GB, free: 11.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004333/0.4352, allocations: 3.02 MB / 0.494 GB, free: 8.355 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.4352, allocations: 32.25 kB / 0.4941 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.552e-05/0.4353, allocations: 52 kB / 0.4941 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.892e-05/0.4353, allocations: 68 kB / 0.4942 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.437, allocations: 0.5692 MB / 0.4947 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.401e-05/0.4371, allocations: 103.6 kB / 0.4948 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.4391, allocations: 396.3 kB / 0.4952 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.4392, allocations: 148 kB / 0.4954 GB, free: 7 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.002363/0.4416, allocations: 1.73 MB / 0.4971 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.4418, allocations: 134.2 kB / 0.4972 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.4422, allocations: 250.8 kB / 0.4974 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/0.4424, allocations: 93.66 kB / 0.4975 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4424, allocations: 3.938 kB / 0.4975 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4424, allocations: 0 / 0.4975 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.4466, allocations: 3.056 MB / 0.5005 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4466, allocations: 3.938 kB / 0.5005 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.4467, allocations: 15.98 kB / 0.5005 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4467, allocations: 0 / 0.5005 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4467, allocations: 0 / 0.5005 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4467, allocations: 0 / 0.5005 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.4467, allocations: 7.938 kB / 0.5005 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.4471, allocations: 362.5 kB / 0.5009 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.4474, allocations: 223.3 kB / 0.5011 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.4476, allocations: 8 kB / 0.5011 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.448, allocations: 27.95 kB / 0.5011 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.4481, allocations: 0 / 0.5011 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.4481, allocations: 4 kB / 0.5011 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00173/0.4498, allocations: 1.4 MB / 0.5025 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4498, allocations: 0 / 0.5025 GB, free: 15.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002434/0.4523, allocations: 0.9864 MB / 0.5035 GB, free: 14.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0002442/0.4525, allocations: 151.1 kB / 0.5036 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.4545, allocations: 1.465 MB / 0.505 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4545, allocations: 384 / 0.505 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.4546, allocations: 39.92 kB / 0.5051 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.4562, allocations: 334.7 kB / 0.5054 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008783/0.465, allocations: 6.067 MB / 0.5113 GB, free: 6.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/0.4677, allocations: 3.132 MB / 0.5144 GB, free: 3.352 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001705/0.4694, allocations: 0.7983 MB / 0.5151 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.4696, allocations: 99.42 kB / 0.5152 GB, free: 2.449 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4696, allocations: 0 / 0.5152 GB, free: 2.449 MB / 446.1 MB Notification: Performance of Templates: time 0.03164/0.5012, allocations: 17.96 MB / 0.5328 GB, free: 472 kB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches