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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 59.92 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2836, allocations: 49.15 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.00985/0.2934, allocations: 10.15 MB / 407.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006652/0.3001, allocations: 2.841 MB / 410.6 MB, free: 192 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.3025, allocations: 72.38 kB / 410.7 MB, free: 172 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.3136, allocations: 4.248 MB / 414.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.3179, allocations: 0.9051 MB / 415.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.3214, allocations: 0.9783 MB / 416.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007021/0.3284, allocations: 4.319 MB / 421.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01496/0.3434, allocations: 7.192 MB / 428.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.3484, allocations: 2.513 MB / 430.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00556/0.3539, allocations: 2.799 MB / 433.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002052/0.356, allocations: 0.6797 MB / 434.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.3593, allocations: 0.8982 MB / 435.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00243/0.3617, allocations: 1.317 MB / 436.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005394/0.3671, allocations: 2.677 MB / 439.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.3807, allocations: 9.101 MB / 448.3 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3807, allocations: 0 / 448.3 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3807, allocations: 0 / 448.3 MB, free: 464 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003076/0.381, allocations: 0 / 448.3 MB, free: 464 kB / 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.01782/0.3988, allocations: 5.601 MB / 453.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.3989, allocations: 15.98 kB / 453.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.4135, allocations: 2.406 MB / 456.3 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006128/0.4197, allocations: 2.379 MB / 458.7 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004267/0.4201, allocations: 365.9 kB / 459.1 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/0.4219, allocations: 476 kB / 459.5 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.4398, allocations: 6.643 MB / 466.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.4399, allocations: 7.938 kB / 466.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009639/0.4409, allocations: 204 kB / 466.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002494/0.4411, allocations: 230.1 kB / 466.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.4539, allocations: 6.114 MB / 472.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04086/0.4947, allocations: 21.53 MB / 494.3 MB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007786/0.5025, allocations: 3.086 MB / 497.3 MB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.5039, allocations: 0.7368 MB / 498.1 MB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005429/0.5093, allocations: 2.119 MB / 0.4885 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.5093, allocations: 38.48 kB / 0.4885 GB, free: 11.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.785e-06/0.5093, allocations: 0 / 0.4885 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006948/0.51, allocations: 232.8 kB / 0.4887 GB, free: 11.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.5101, allocations: 67.27 kB / 0.4888 GB, free: 11.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/0.514, allocations: 2.141 MB / 0.4909 GB, free: 9.422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.5141, allocations: 25.7 kB / 0.4909 GB, free: 9.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002174/0.5163, allocations: 2.471 MB / 0.4933 GB, free: 6.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.5164, allocations: 79.73 kB / 0.4934 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.5176, allocations: 0.5511 MB / 0.4939 GB, free: 6.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.5178, allocations: 353.9 kB / 0.4943 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.5194, allocations: 0.8128 MB / 0.4951 GB, free: 5.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003103/0.5225, allocations: 2.243 MB / 0.4973 GB, free: 2.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/0.5264, allocations: 2.956 MB / 0.5001 GB, free: 14.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.236e-05/0.5264, allocations: 16 kB / 0.5002 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005451/0.5319, allocations: 3.016 MB / 0.5031 GB, free: 11.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.532, allocations: 28 kB / 0.5031 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.502e-05/0.532, allocations: 52.91 kB / 0.5032 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.925e-05/0.5321, allocations: 64 kB / 0.5032 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.534, allocations: 0.577 MB / 0.5038 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001103/0.5341, allocations: 103.6 kB / 0.5039 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.5365, allocations: 405.3 kB / 0.5043 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.5368, allocations: 148 kB / 0.5044 GB, free: 10.07 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.003081/0.5399, allocations: 1.726 MB / 0.5061 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.5402, allocations: 147 kB / 0.5063 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005615/0.5407, allocations: 247 kB / 0.5065 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/0.5409, allocations: 93.61 kB / 0.5066 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5409, allocations: 4 kB / 0.5066 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5409, allocations: 7.922 kB / 0.5066 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/0.5479, allocations: 3.04 MB / 0.5096 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5479, allocations: 0 / 0.5096 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.548, allocations: 12.03 kB / 0.5096 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.5481, allocations: 4 kB / 0.5096 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.5481, allocations: 4 kB / 0.5096 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.5481, allocations: 0 / 0.5096 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5481, allocations: 384 / 0.5096 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.5487, allocations: 379 kB / 0.5099 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.5492, allocations: 155.1 kB / 0.5101 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.5495, allocations: 12.06 kB / 0.5101 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.5501, allocations: 27.95 kB / 0.5101 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.5501, allocations: 11.92 kB / 0.5101 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.5501, allocations: 4 kB / 0.5101 GB, free: 4.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002421/0.5526, allocations: 1.396 MB / 0.5115 GB, free: 2.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5526, allocations: 0 / 0.5115 GB, free: 2.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003007/0.5556, allocations: 0.9996 MB / 0.5125 GB, free: 1.723 MB / 430.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.0002831/0.5559, allocations: 135.1 kB / 0.5126 GB, free: 1.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.5584, allocations: 1.394 MB / 0.514 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5584, allocations: 1.875 kB / 0.514 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.5585, allocations: 39.92 kB / 0.514 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.5604, allocations: 325.6 kB / 0.5143 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.5738, allocations: 6.064 MB / 0.5203 GB, free: 9.723 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004649/0.5784, allocations: 3.047 MB / 0.5232 GB, free: 6.648 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.5789, allocations: 131.4 kB / 0.5234 GB, free: 6.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5789, allocations: 0 / 0.5234 GB, free: 6.52 MB / 446.1 MB Notification: Performance of Templates: time 0.2846/0.8635, allocations: 40 MB / 0.5624 GB, free: 138.8 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.624397807987407]