Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.001472/0.001472, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001589/0.001589, allocations: 162.3 kB / 24.99 MB, free: 8.801 MB / 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 0.938/0.938, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 34.87 MB / 296.6 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.488e-05, allocations: 6.25 kB / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01805/0.01806, allocations: 9.095 MB / 387.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009097/0.02716, allocations: 2.784 MB / 390.6 MB, free: 6.488 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006785/0.02784, allocations: 87.56 kB / 390.7 MB, free: 6.402 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004062/0.0319, allocations: 3.994 MB / 394.7 MB, free: 2.391 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.03352, allocations: 1.103 MB / 395.8 MB, free: 1.281 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009103/0.03443, allocations: 0.7743 MB / 396.6 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.03742, allocations: 5.045 MB / 401.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005929/0.04335, allocations: 7.723 MB / 409.3 MB, free: 3.594 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.04613, allocations: 4.232 MB / 413.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.04825, allocations: 3.096 MB / 416.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005192/0.04877, allocations: 0.7695 MB / 417.4 MB, free: 11.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008026/0.04958, allocations: 0.9253 MB / 418.4 MB, free: 10.56 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008381/0.05041, allocations: 1.664 MB / 420 MB, free: 8.891 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.05173, allocations: 2.035 MB / 422.1 MB, free: 6.852 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.05493, allocations: 5.208 MB / 427.3 MB, free: 1.629 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.05493, allocations: 0 / 427.3 MB, free: 1.629 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.05493, allocations: 0 / 427.3 MB, free: 1.629 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.05496, allocations: 0 / 427.3 MB, free: 1.629 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.007536/0.0625, allocations: 6.85 MB / 434.1 MB, free: 10.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.06252, allocations: 8.031 kB / 434.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/0.07531, allocations: 4.73 MB / 438.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.07816, allocations: 3.006 MB / 441.9 MB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.07834, allocations: 394.5 kB / 442.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004918/0.07883, allocations: 0.5038 MB / 442.8 MB, free: 2.035 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1608/0.2397, allocations: 4.565 MB / 447.3 MB, free: 96.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.2398, allocations: 0 / 447.3 MB, free: 96.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004455/0.2402, allocations: 215.5 kB / 447.5 MB, free: 96.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002726/0.2405, allocations: 341.3 kB / 447.9 MB, free: 96.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006058/0.2465, allocations: 2.533 MB / 450.4 MB, free: 95.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02404/0.2706, allocations: 19.85 MB / 470.2 MB, free: 84.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007668/0.2782, allocations: 3.97 MB / 474.2 MB, free: 84.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008502/0.2791, allocations: 0.712 MB / 474.9 MB, free: 84.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.2792, allocations: 74.62 kB / 475 MB, free: 84.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2792, allocations: 64.17 kB / 475.1 MB, free: 84.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 3.396e-06/0.2792, allocations: 3.391 kB / 475.1 MB, free: 84.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.001887/0.2811, allocations: 1.518 MB / 476.6 MB, free: 83.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2812, allocations: 107.6 kB / 476.7 MB, free: 83.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.2828, allocations: 1.878 MB / 478.6 MB, free: 82.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/0.2829, allocations: 57.48 kB / 478.6 MB, free: 82.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008166/0.2837, allocations: 2.439 MB / 481.1 MB, free: 81.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.284, allocations: 0.7928 MB / 481.9 MB, free: 80.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007391/0.2848, allocations: 0.803 MB / 482.7 MB, free: 80.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.2848, allocations: 477.4 kB / 483.1 MB, free: 79.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.2855, allocations: 425.4 kB / 483.5 MB, free: 79.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.2871, allocations: 2.864 MB / 486.4 MB, free: 76.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.2896, allocations: 3.643 MB / 490 MB, free: 72.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-05/0.2896, allocations: 16.88 kB / 490.1 MB, free: 72.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003195/0.2928, allocations: 2.774 MB / 492.8 MB, free: 71.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.2929, allocations: 28.88 kB / 492.9 MB, free: 71.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/0.2929, allocations: 55 kB / 492.9 MB, free: 71.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.815e-05/0.2929, allocations: 78.38 kB / 493 MB, free: 71.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.2945, allocations: 0.91 MB / 493.9 MB, free: 71.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.377e-05/0.2945, allocations: 123.7 kB / 494 MB, free: 71.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.2956, allocations: 471.6 kB / 494.5 MB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.2958, allocations: 191.9 kB / 494.7 MB, free: 71.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * 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 (442): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006138/0.2964, allocations: 412.3 kB / 495.1 MB, free: 70.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.2966, allocations: 259.5 kB / 495.3 MB, free: 70.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.2986, allocations: 1.803 MB / 497.1 MB, free: 69.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2986, allocations: 22.88 kB / 497.2 MB, free: 69.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2986, allocations: 3.938 kB / 497.2 MB, free: 69.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.2986, allocations: 14.78 kB / 497.2 MB, free: 69.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006694/0.3053, allocations: 6.697 MB / 0.4921 GB, free: 66.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.3053, allocations: 16.52 kB / 0.4921 GB, free: 66.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.3063, allocations: 0.553 MB / 0.4926 GB, free: 65.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.3063, allocations: 28.8 kB / 0.4926 GB, free: 65.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.212e-05/0.3064, allocations: 85.66 kB / 0.4927 GB, free: 65.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.559e-05/0.3064, allocations: 38.83 kB / 0.4928 GB, free: 65.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.3064, allocations: 20.89 kB / 0.4928 GB, free: 65.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.3087, allocations: 3.017 MB / 0.4957 GB, free: 62.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.3091, allocations: 453 kB / 0.4962 GB, free: 61.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.3093, allocations: 71.5 kB / 0.4962 GB, free: 61.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/0.3098, allocations: 116 kB / 0.4963 GB, free: 61.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.3101, allocations: 229.3 kB / 0.4966 GB, free: 61.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-05/0.3102, allocations: 98.38 kB / 0.4967 GB, free: 61.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006913/0.3108, allocations: 0.8324 MB / 0.4975 GB, free: 60.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3108, allocations: 0 / 0.4975 GB, free: 60.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001565/0.3124, allocations: 1.2 MB / 0.4986 GB, free: 59.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.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 (275): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002312/0.3126, allocations: 224.8 kB / 0.4989 GB, free: 59.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.3145, allocations: 1.926 MB / 0.5007 GB, free: 57.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3145, allocations: 1.812 kB / 0.5007 GB, free: 57.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.3152, allocations: 0.8236 MB / 0.5015 GB, free: 57.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.3165, allocations: 0.5117 MB / 0.502 GB, free: 56.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00568/0.3222, allocations: 7.766 MB / 0.5096 GB, free: 49.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/0.323, allocations: 1.429 MB / 0.511 GB, free: 48.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00136/0.3243, allocations: 1.178 MB / 0.5122 GB, free: 47.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.3247, allocations: 224.4 kB / 0.5124 GB, free: 46.93 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3247, allocations: 0 / 0.5124 GB, free: 46.93 MB / 410.7 MB Notification: Performance of Templates: time 0.02762/0.3523, allocations: 30.41 MB / 0.5421 GB, free: 16.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7981799349654466]