Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001841/0.001841, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 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.002185/0.002185, allocations: 213.3 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 43.94 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2159, allocations: 53.38 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01094/0.2268, allocations: 8.512 MB / 440.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.2315, allocations: 2.655 MB / 443.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005574/0.2321, allocations: 91.56 kB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008964/0.241, allocations: 3.886 MB / 447.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.2432, allocations: 0.7842 MB / 448.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.2452, allocations: 0.9283 MB / 449.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004184/0.2494, allocations: 4.089 MB / 453.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009362/0.2588, allocations: 7.116 MB / 460.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.2616, allocations: 2.412 MB / 462.8 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.2647, allocations: 2.663 MB / 465.5 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008092/0.2655, allocations: 0.6641 MB / 466.2 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.2671, allocations: 0.8943 MB / 467.1 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.2683, allocations: 1.235 MB / 468.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002104/0.2704, allocations: 1.988 MB / 470.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008378/0.2788, allocations: 8.975 MB / 479.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2788, allocations: 0 / 479.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2788, allocations: 0 / 479.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.186e-05/0.2789, allocations: 0 / 479.2 MB, free: 7.605 MB / 382.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.01128/0.2901, allocations: 5.327 MB / 484.6 MB, free: 2.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2902, allocations: 11.97 kB / 484.6 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008171/0.2983, allocations: 1.325 MB / 485.9 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005144/0.3035, allocations: 2.598 MB / 488.5 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.3038, allocations: 349.3 kB / 488.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007353/0.3045, allocations: 459.9 kB / 489.3 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.3149, allocations: 6.127 MB / 495.4 MB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.315, allocations: 4 kB / 495.4 MB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004561/0.3154, allocations: 184 kB / 495.6 MB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.3156, allocations: 193.5 kB / 495.8 MB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008657/0.3243, allocations: 5.272 MB / 0.4893 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02607/0.3504, allocations: 17.76 MB / 0.5067 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005234/0.3556, allocations: 2.077 MB / 0.5087 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000973/0.3566, allocations: 0.5923 MB / 0.5093 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.3567, allocations: 40.95 kB / 0.5093 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.3567, allocations: 47.5 kB / 0.5094 GB, free: 12.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.467e-06/0.3567, allocations: 0 / 0.5094 GB, free: 12.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002287/0.359, allocations: 1.433 MB / 0.5108 GB, free: 11.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3591, allocations: 64.34 kB / 0.5108 GB, free: 11.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.361, allocations: 1.531 MB / 0.5123 GB, free: 9.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.3611, allocations: 41.7 kB / 0.5124 GB, free: 9.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.3625, allocations: 2.045 MB / 0.5144 GB, free: 7.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.3628, allocations: 365 kB / 0.5147 GB, free: 7.008 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006483/0.3634, allocations: 479.9 kB / 0.5152 GB, free: 6.531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3636, allocations: 353.9 kB / 0.5155 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.3648, allocations: 0.8085 MB / 0.5163 GB, free: 5.367 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.367, allocations: 1.945 MB / 0.5182 GB, free: 2.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/0.3705, allocations: 2.924 MB / 0.521 GB, free: 15.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-05/0.3705, allocations: 15.94 kB / 0.5211 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004232/0.3748, allocations: 2.809 MB / 0.5238 GB, free: 12.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.3748, allocations: 20 kB / 0.5238 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.111e-05/0.3748, allocations: 40 kB / 0.5239 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.355e-05/0.3749, allocations: 56.8 kB / 0.5239 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.3766, allocations: 0.5381 MB / 0.5244 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.845e-05/0.3767, allocations: 79.72 kB / 0.5245 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.378, allocations: 297.9 kB / 0.5248 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.3781, allocations: 128 kB / 0.5249 GB, free: 11.41 MB / 446.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.002113/0.3802, allocations: 1.664 MB / 0.5265 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.3804, allocations: 131.1 kB / 0.5267 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.3827, allocations: 1.345 MB / 0.528 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.3827, allocations: 7.969 kB / 0.528 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3827, allocations: 0 / 0.528 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/0.3832, allocations: 222.8 kB / 0.5282 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.3833, allocations: 23.98 kB / 0.5282 GB, free: 7.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.3838, allocations: 39.97 kB / 0.5283 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3839, allocations: 64.75 kB / 0.5283 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001965/0.3859, allocations: 1.146 MB / 0.5294 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002546/0.3884, allocations: 1.881 MB / 0.5313 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006329/0.389, allocations: 451.6 kB / 0.5317 GB, free: 4.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.3904, allocations: 0.9875 MB / 0.5327 GB, free: 3.41 MB / 446.1 MB Notification: Performance of Backend: time 2.9e-07/0.3904, allocations: 0 / 0.5327 GB, free: 3.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002816/0.3932, allocations: 1.511 MB / 0.5342 GB, free: 1.898 MB / 446.1 MB Notification: Performance of SimCode: time 0.1758/0.569, allocations: 6.701 MB / 0.5407 GB, free: 99.12 MB / 446.1 MB Notification: Performance of Templates: time 0.03535/0.6044, allocations: 27.95 MB / 0.568 GB, free: 77.44 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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: 5.2809213979999186]