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.001329/0.001329, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001595/0.001595, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.462/1.462, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 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.342e-06/1.342e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.131e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01074/0.01076, allocations: 8.543 MB / 333.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.01668, allocations: 2.645 MB / 336.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01773, allocations: 89.62 kB / 336.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009811/0.02754, allocations: 4.136 MB / 340.4 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.03164, allocations: 0.7948 MB / 341.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.03471, allocations: 0.9298 MB / 342.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006031/0.04074, allocations: 4.235 MB / 346.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01099/0.05173, allocations: 7.058 MB / 353.4 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005135/0.05687, allocations: 3.6 MB / 357 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003592/0.06046, allocations: 2.281 MB / 359.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.0615, allocations: 0.6602 MB / 360 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.06384, allocations: 0.8863 MB / 360.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.06555, allocations: 1.266 MB / 362.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003856/0.0694, allocations: 1.704 MB / 363.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.08457, allocations: 9.011 MB / 372.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.08458, allocations: 0 / 372.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08458, allocations: 0 / 372.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001883/0.08477, allocations: 3.938 kB / 372.9 MB, free: 5.02 MB / 334.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.02311/0.1079, allocations: 5.288 MB / 378.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/0.1079, allocations: 15.98 kB / 378.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.1227, allocations: 1.317 MB / 379.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008019/0.1307, allocations: 2.601 MB / 382.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/0.131, allocations: 349.8 kB / 382.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/0.1329, allocations: 452.4 kB / 382.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.1473, allocations: 6.131 MB / 389 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.1474, allocations: 3.953 kB / 389 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008335/0.1482, allocations: 188 kB / 389.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.1484, allocations: 197.5 kB / 389.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/0.1593, allocations: 5.268 MB / 394.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03221/0.1915, allocations: 17.77 MB / 412.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00805/0.1995, allocations: 2.082 MB / 414.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.2011, allocations: 0.5962 MB / 415.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.2013, allocations: 40.91 kB / 415.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.2014, allocations: 47.55 kB / 415.2 MB, free: 9.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=94): time 3.436e-06/0.2014, allocations: 0 / 415.2 MB, free: 9.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=94): time 0.00378/0.2052, allocations: 1.437 MB / 416.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.2052, allocations: 68.41 kB / 416.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/0.2088, allocations: 1.523 MB / 418.2 MB, free: 6.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.265e-05/0.2089, allocations: 41.7 kB / 418.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002102/0.211, allocations: 2.033 MB / 420.3 MB, free: 4.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004984/0.2115, allocations: 365.1 kB / 420.6 MB, free: 4.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.2126, allocations: 467.9 kB / 421.1 MB, free: 3.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000273/0.2129, allocations: 349.9 kB / 421.4 MB, free: 3.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.2146, allocations: 0.8085 MB / 422.2 MB, free: 2.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/0.2181, allocations: 1.945 MB / 424.2 MB, free: 336 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005529/0.2236, allocations: 2.931 MB / 427.1 MB, free: 12.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-05/0.2236, allocations: 12 kB / 427.1 MB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.007033/0.2307, allocations: 2.81 MB / 429.9 MB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.2307, allocations: 20 kB / 430 MB, free: 10 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-05/0.2308, allocations: 44.16 kB / 430 MB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.753e-05/0.2309, allocations: 55.94 kB / 430.1 MB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.2335, allocations: 0.542 MB / 430.6 MB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001125/0.2336, allocations: 75.72 kB / 430.7 MB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.236, allocations: 301.8 kB / 431 MB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/0.2363, allocations: 128 kB / 431.1 MB, free: 8.863 MB / 398.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.003718/0.24, allocations: 1.668 MB / 432.8 MB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/0.2404, allocations: 139 kB / 432.9 MB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/0.2441, allocations: 1.334 MB / 434.2 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002263/0.2464, allocations: 0.9396 MB / 435.2 MB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.2464, allocations: 3.984 kB / 435.2 MB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.2464, allocations: 3.984 kB / 435.2 MB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.263, allocations: 10.17 MB / 445.3 MB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.59e-05/0.2631, allocations: 20.94 kB / 445.4 MB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008041/0.2639, allocations: 215.5 kB / 445.6 MB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-05/0.2639, allocations: 31.98 kB / 445.6 MB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/0.264, allocations: 44 kB / 445.7 MB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.282e-05/0.264, allocations: 43.84 kB / 445.7 MB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.556e-05/0.2641, allocations: 27.88 kB / 445.7 MB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/0.2674, allocations: 2.431 MB / 448.2 MB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.268, allocations: 246.8 kB / 448.4 MB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.2682, allocations: 47.97 kB / 448.4 MB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008388/0.2691, allocations: 64.02 kB / 448.5 MB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.2693, allocations: 135.3 kB / 448.6 MB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.704e-05/0.2694, allocations: 59.92 kB / 448.7 MB, free: 6.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001564/0.2709, allocations: 0.9875 MB / 449.7 MB, free: 5.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2709, allocations: 0 / 449.7 MB, free: 5.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002854/0.2738, allocations: 0.9569 MB / 450.6 MB, free: 4.668 MB / 414.1 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.0004118/0.2742, allocations: 198.6 kB / 450.8 MB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.2773, allocations: 1.803 MB / 452.6 MB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/0.2773, allocations: 4 kB / 452.6 MB, free: 2.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009398/0.2782, allocations: 0.5546 MB / 453.2 MB, free: 2.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.2806, allocations: 392.3 kB / 453.6 MB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.2935, allocations: 6.844 MB / 460.4 MB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003511/0.2971, allocations: 2.529 MB / 462.9 MB, free: 8.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002004/0.2991, allocations: 0.817 MB / 463.8 MB, free: 7.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/0.2994, allocations: 120.5 kB / 463.9 MB, free: 7.078 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2994, allocations: 0 / 463.9 MB, free: 7.078 MB / 430.1 MB Notification: Performance of Templates: time 0.1982/0.4977, allocations: 16.85 MB / 480.7 MB, free: 119.2 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480] 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.199533972889185]