Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002544/0.002544, allocations: 103.5 kB / 20.97 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002924/0.002924, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.718/1.718, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.828e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01408/0.01411, allocations: 9.375 MB / 281.6 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.02092, allocations: 2.709 MB / 284.3 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.02255, allocations: 91.56 kB / 284.4 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.0343, allocations: 4.449 MB / 288.8 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.03802, allocations: 0.7993 MB / 289.6 MB, free: 288 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1237/0.1617, allocations: 0.9392 MB / 290.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004878/0.1666, allocations: 4.225 MB / 294.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009362/0.176, allocations: 7.073 MB / 301.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005679/0.1817, allocations: 3.618 MB / 305.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00343/0.1851, allocations: 2.551 MB / 308 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008339/0.1859, allocations: 0.6631 MB / 308.7 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.1874, allocations: 0.8911 MB / 309.6 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007632/0.1881, allocations: 1.28 MB / 310.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.19, allocations: 1.735 MB / 312.6 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007506/0.1975, allocations: 9.077 MB / 321.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1975, allocations: 0 / 321.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1975, allocations: 0.625 kB / 321.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001667/0.1976, allocations: 0 / 321.7 MB, free: 13.33 MB / 282.7 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.01466/0.2123, allocations: 6.178 MB / 327.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2123, allocations: 16.77 kB / 327.9 MB, free: 7.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008817/0.2211, allocations: 1.849 MB / 329.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005609/0.2268, allocations: 2.44 MB / 332.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/0.2272, allocations: 352.4 kB / 332.5 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008789/0.2281, allocations: 452.9 kB / 332.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.2396, allocations: 5.594 MB / 338.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.2397, allocations: 15.86 kB / 338.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004862/0.2402, allocations: 191.8 kB / 338.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/0.2405, allocations: 193.5 kB / 338.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.2505, allocations: 4.749 MB / 343.7 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04365/0.2941, allocations: 26.67 MB / 370.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005554/0.2997, allocations: 1.975 MB / 372.3 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009994/0.3007, allocations: 0.5429 MB / 372.9 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.3009, allocations: 48.95 kB / 372.9 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.3009, allocations: 50.95 kB / 373 MB, free: 9.336 MB / 330.7 MB Notification: Performance of pre-optimization done (n=94): time 3.036e-06/0.3009, allocations: 0 / 373 MB, free: 9.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=94): time 0.002409/0.3033, allocations: 1.271 MB / 374.2 MB, free: 8.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.3034, allocations: 61.16 kB / 374.3 MB, free: 7.996 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003584/0.307, allocations: 2.352 MB / 376.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/0.307, allocations: 41.7 kB / 376.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/0.309, allocations: 2.272 MB / 379 MB, free: 3.305 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/0.3094, allocations: 385.3 kB / 379.3 MB, free: 2.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009453/0.3104, allocations: 0.6229 MB / 380 MB, free: 2.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003637/0.3107, allocations: 0.5746 MB / 380.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.3119, allocations: 0.6842 MB / 381.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002864/0.3148, allocations: 2.48 MB / 383.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004106/0.3189, allocations: 3.387 MB / 387.1 MB, free: 9.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.961e-05/0.3189, allocations: 12 kB / 387.1 MB, free: 9.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004504/0.3234, allocations: 2.69 MB / 389.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.3234, allocations: 23.94 kB / 389.8 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-05/0.3235, allocations: 43.94 kB / 389.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.256e-05/0.3236, allocations: 59.66 kB / 389.9 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.3253, allocations: 0.5356 MB / 390.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-05/0.3254, allocations: 76.94 kB / 390.5 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.3267, allocations: 302.1 kB / 390.8 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.3269, allocations: 124 kB / 390.9 MB, free: 6.277 MB / 346.7 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.002664/0.3296, allocations: 1.601 MB / 392.6 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.3299, allocations: 171.1 kB / 392.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.3322, allocations: 1.252 MB / 394 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001349/0.3336, allocations: 0.7986 MB / 394.8 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3336, allocations: 0 / 394.8 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.3336, allocations: 7.984 kB / 394.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.3525, allocations: 11.36 MB / 406.1 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/0.3526, allocations: 24.03 kB / 406.2 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000805/0.3534, allocations: 217.9 kB / 406.4 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.951e-05/0.3534, allocations: 24 kB / 406.4 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/0.3535, allocations: 51.98 kB / 406.4 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-05/0.3535, allocations: 35.3 kB / 406.5 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.075e-05/0.3536, allocations: 34.22 kB / 406.5 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.3572, allocations: 2.489 MB / 409 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006461/0.3578, allocations: 242.8 kB / 409.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.358, allocations: 47.92 kB / 409.3 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.3587, allocations: 59.95 kB / 409.3 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.3589, allocations: 137.2 kB / 409.5 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/0.359, allocations: 52 kB / 409.5 MB, free: 3.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001969/0.3609, allocations: 1.159 MB / 410.7 MB, free: 1.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3609, allocations: 0 / 410.7 MB, free: 1.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002876/0.3638, allocations: 0.953 MB / 411.6 MB, free: 1.008 MB / 362.7 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.0003931/0.3642, allocations: 204.4 kB / 411.8 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003117/0.3673, allocations: 1.887 MB / 413.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.3673, allocations: 4 kB / 413.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008544/0.3682, allocations: 0.5444 MB / 414.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.3703, allocations: 402.2 kB / 414.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.3815, allocations: 6.797 MB / 421.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002725/0.3843, allocations: 2.279 MB / 423.7 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001753/0.386, allocations: 0.7116 MB / 424.5 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.3863, allocations: 112.5 kB / 424.6 MB, free: 3.887 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.3863, allocations: 4 kB / 424.6 MB, free: 3.883 MB / 378.7 MB Notification: Performance of Templates: time 0.1411/0.5274, allocations: 16.78 MB / 441.3 MB, free: 106.3 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.447985637001693]