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.001083/0.001083, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001669/0.002752, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001123/0.001123, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002604, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.981/0.981, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08198/1.063, allocations: 53.88 MB / 243.9 MB, free: 14.81 MB / 250.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.2728/0.2728, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02623/0.299, allocations: 13.23 MB / 292.8 MB, free: 6.348 MB / 282.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.163e-06/1.163e-06, allocations: 0 / 294.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.148e-05, allocations: 6.344 kB / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.006984/0.007005, allocations: 8.957 MB / 303 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004662/0.01167, allocations: 2.928 MB / 306 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.0123, allocations: 87.56 kB / 306.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003851/0.01615, allocations: 3.994 MB / 310.1 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.01787, allocations: 1.091 MB / 311.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.01878, allocations: 0.7689 MB / 311.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.02215, allocations: 5.097 MB / 317 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006692/0.02885, allocations: 7.712 MB / 324.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.03244, allocations: 4.339 MB / 329.1 MB, free: 1.824 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.03501, allocations: 3.158 MB / 332.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006718/0.03568, allocations: 0.7695 MB / 333 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.03688, allocations: 0.9448 MB / 333.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008243/0.0377, allocations: 1.325 MB / 335.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.0391, allocations: 1.689 MB / 336.9 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003507/0.0426, allocations: 4.923 MB / 341.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.04261, allocations: 0 / 341.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.04261, allocations: 4 kB / 341.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.995e-05/0.04265, allocations: 0 / 341.9 MB, free: 4.984 MB / 330.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.007315/0.04997, allocations: 7.248 MB / 349.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.05, allocations: 8.031 kB / 349.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.06564, allocations: 3.789 MB / 352.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003795/0.06944, allocations: 1.625 MB / 354.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.06967, allocations: 390.5 kB / 354.9 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007451/0.07041, allocations: 0.496 MB / 355.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006015/0.07643, allocations: 4.288 MB / 359.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.293e-05/0.07652, allocations: 7.953 kB / 359.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003553/0.07688, allocations: 208 kB / 359.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002567/0.07713, allocations: 327.1 kB / 360.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/0.08068, allocations: 1.71 MB / 361.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/0.09885, allocations: 15.23 MB / 377.2 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003849/0.1027, allocations: 2.555 MB / 379.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/0.1034, allocations: 0.5497 MB / 380.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.1035, allocations: 81.94 kB / 380.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1035, allocations: 56.56 kB / 380.4 MB, free: 13.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 4.84e-06/0.1035, allocations: 0 / 380.4 MB, free: 13.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=214): time 0.001299/0.1048, allocations: 0.9716 MB / 381.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1049, allocations: 99.11 kB / 381.5 MB, free: 12.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/0.1058, allocations: 1.243 MB / 382.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.1059, allocations: 53.7 kB / 382.8 MB, free: 11.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008336/0.1067, allocations: 2.157 MB / 384.9 MB, free: 9.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.1071, allocations: 0.7669 MB / 385.7 MB, free: 8.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005529/0.1077, allocations: 0.6364 MB / 386.3 MB, free: 7.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.1078, allocations: 301.1 kB / 386.6 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.1082, allocations: 306.7 kB / 386.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.1093, allocations: 1.918 MB / 388.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.1117, allocations: 2.844 MB / 391.7 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.1117, allocations: 19.94 kB / 391.7 MB, free: 0.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002254/0.1139, allocations: 2.045 MB / 393.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.114, allocations: 32 kB / 393.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.712e-05/0.114, allocations: 52 kB / 393.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.683e-05/0.1141, allocations: 83.94 kB / 393.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.116, allocations: 0.9989 MB / 394.9 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.483e-05/0.1161, allocations: 111.6 kB / 395 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.1177, allocations: 393.1 kB / 395.4 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.1179, allocations: 156 kB / 395.6 MB, free: 12.89 MB / 394.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.001256/0.1191, allocations: 375 kB / 395.9 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.1194, allocations: 179.8 kB / 396.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.121, allocations: 1.314 MB / 397.4 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.121, allocations: 31.94 kB / 397.5 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.121, allocations: 0 / 397.5 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.121, allocations: 11.95 kB / 397.5 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005418/0.1264, allocations: 4.965 MB / 402.4 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.1264, allocations: 16 kB / 402.5 MB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.1277, allocations: 0.6203 MB / 403.1 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/0.1282, allocations: 345.8 kB / 403.4 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-05/0.1282, allocations: 28 kB / 403.4 MB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/0.1283, allocations: 63.98 kB / 403.5 MB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-05/0.1283, allocations: 39.86 kB / 403.5 MB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/0.1284, allocations: 31.88 kB / 403.6 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.1303, allocations: 2.247 MB / 405.8 MB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.1305, allocations: 79.92 kB / 405.9 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.131, allocations: 64 kB / 406 MB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.1312, allocations: 221.3 kB / 406.2 MB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/0.1313, allocations: 71.97 kB / 406.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004744/0.1318, allocations: 0.5219 MB / 406.8 MB, free: 1.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1318, allocations: 0 / 406.8 MB, free: 1.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002567/0.1343, allocations: 1.199 MB / 408 MB, free: 15.86 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.0003662/0.1347, allocations: 223.5 kB / 408.2 MB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.1366, allocations: 1.586 MB / 409.8 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.598e-05/0.1367, allocations: 46.47 kB / 409.8 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.1375, allocations: 0.834 MB / 410.6 MB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.1401, allocations: 3.495 MB / 414.1 MB, free: 9.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/0.1652, allocations: 8 MB / 422.1 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009873/0.1662, allocations: 1.051 MB / 423.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001142/0.1673, allocations: 396.8 kB / 423.6 MB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008657/0.1682, allocations: 0.5087 MB / 424.1 MB, free: 14.83 MB / 426.7 MB Notification: Performance of SimCode: time 2.334e-06/0.1682, allocations: 0 / 424.1 MB, free: 14.83 MB / 426.7 MB Notification: Performance of Templates: time 0.1756/0.3438, allocations: 31.81 MB / 455.9 MB, free: 109.4 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6724361246451735]