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.001691/0.001691, allocations: 114.1 kB / 18.44 MB, free: 4.695 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.002032/0.002032, allocations: 203.4 kB / 21.4 MB, free: 1.746 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.624/1.624, allocations: 227.5 MB / 251.7 MB, free: 208 kB / 190.1 MB " [Timeout remaining time 178] 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.2897/0.2897, allocations: 46.14 MB / 351.1 MB, free: 14.38 MB / 286.1 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|iL.1.|iL.2.|iL.3.|vC.1.|vC.2.|vC.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|iL.1.|iL.2.|iL.3.|vC.1.|vC.2.|vC.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 81.06 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.162, allocations: 62.44 MB / 0.5397 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.0124/0.1745, allocations: 9.443 MB / 0.5489 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007061/0.1816, allocations: 2.838 MB / 0.5517 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.1833, allocations: 67.81 kB / 0.5517 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008568/0.192, allocations: 3.738 MB / 0.5554 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004467/0.1965, allocations: 1.06 MB / 0.5564 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.1988, allocations: 0.7737 MB / 0.5572 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006698/0.2055, allocations: 4.847 MB / 0.5619 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01627/0.2218, allocations: 11.98 MB / 0.5736 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004976/0.2269, allocations: 2.798 MB / 0.5763 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005635/0.2325, allocations: 3.119 MB / 0.5794 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001766/0.2343, allocations: 0.7656 MB / 0.5801 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.237, allocations: 0.9295 MB / 0.581 GB, free: 9.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001715/0.2387, allocations: 1.598 MB / 0.5826 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00707/0.2458, allocations: 3.019 MB / 0.5855 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.2593, allocations: 10.49 MB / 0.5958 GB, free: 10.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2594, allocations: 4 kB / 0.5958 GB, free: 10.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2594, allocations: 0 / 0.5958 GB, free: 10.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002741/0.2597, allocations: 0 / 0.5958 GB, free: 10.53 MB / 462.1 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.02115/0.2808, allocations: 6.411 MB / 0.602 GB, free: 4.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.2809, allocations: 12.03 kB / 0.6021 GB, free: 4.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02265/0.3036, allocations: 3.93 MB / 0.6059 GB, free: 100 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4109/0.7145, allocations: 3.232 MB / 0.609 GB, free: 52.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005847/0.7152, allocations: 390.5 kB / 0.6094 GB, free: 51.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003416/0.7186, allocations: 0.4977 MB / 0.6099 GB, free: 51.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03163/0.7502, allocations: 8.709 MB / 0.6184 GB, free: 48.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004505/0.7507, allocations: 2.859 kB / 0.6184 GB, free: 48.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003119/0.7539, allocations: 213.2 kB / 0.6186 GB, free: 48.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008285/0.7547, allocations: 341.1 kB / 0.6189 GB, free: 48.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02225/0.777, allocations: 8.04 MB / 0.6268 GB, free: 45.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0485/0.8256, allocations: 27.81 MB / 0.654 GB, free: 22.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01317/0.8388, allocations: 10.21 MB / 0.6639 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/0.842, allocations: 1.597 MB / 0.6655 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/0.8424, allocations: 230.1 kB / 0.6657 GB, free: 9.594 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.655e-05/0.8425, allocations: 56.56 kB / 0.6658 GB, free: 9.531 MB / 462.1 MB Notification: Performance of pre-optimization done (n=214): time 7.344e-06/0.8426, allocations: 0 / 0.6658 GB, free: 9.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=214): time 0.006357/0.8489, allocations: 3.531 MB / 0.6692 GB, free: 6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.849, allocations: 99.11 kB / 0.6693 GB, free: 5.883 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006152/0.8552, allocations: 3.426 MB / 0.6726 GB, free: 2.469 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005423/0.8558, allocations: 61.7 kB / 0.6727 GB, free: 2.402 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.8574, allocations: 2.226 MB / 0.6749 GB, free: 176 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.8585, allocations: 0.7787 MB / 0.6756 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001769/0.8603, allocations: 0.7107 MB / 0.6763 GB, free: 14.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.8605, allocations: 305.1 kB / 0.6766 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00293/0.8634, allocations: 1.564 MB / 0.6781 GB, free: 12.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/0.868, allocations: 3.192 MB / 0.6813 GB, free: 8.875 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007914/0.876, allocations: 5.082 MB / 0.6862 GB, free: 3.016 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.098e-05/0.8761, allocations: 16 kB / 0.6862 GB, free: 3 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01015/0.8863, allocations: 4.96 MB / 0.6911 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.626e-05/0.8864, allocations: 32.03 kB / 0.6911 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/0.8865, allocations: 56 kB / 0.6912 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.8866, allocations: 83.94 kB / 0.6913 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003524/0.8902, allocations: 0.9086 MB / 0.6921 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001543/0.8903, allocations: 115.6 kB / 0.6922 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.8939, allocations: 0.5702 MB / 0.6928 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005789/0.8945, allocations: 196 kB / 0.693 GB, free: 12.08 MB / 494.1 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.005133/0.8996, allocations: 2.081 MB / 0.695 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009803/0.9006, allocations: 274.2 kB / 0.6953 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007714/0.9083, allocations: 3.183 MB / 0.6984 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.351e-05/0.9084, allocations: 24 kB / 0.6984 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.11e-05/0.9084, allocations: 0 / 0.6984 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.328e-05/0.9085, allocations: 15.95 kB / 0.6984 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/0.9317, allocations: 8.665 MB / 0.7069 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.537e-05/0.9319, allocations: 16 kB / 0.7069 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/0.9342, allocations: 0.5578 MB / 0.7075 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.726e-05/0.9343, allocations: 28 kB / 0.7075 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003122/0.9346, allocations: 80.41 kB / 0.7076 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.532e-05/0.9347, allocations: 47.84 kB / 0.7076 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-05/0.9347, allocations: 23.88 kB / 0.7076 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009461/0.9442, allocations: 5.264 MB / 0.7128 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/0.9462, allocations: 0.7093 MB / 0.7135 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008223/0.947, allocations: 67.98 kB / 0.7135 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/0.949, allocations: 127.9 kB / 0.7136 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004307/0.9494, allocations: 217.3 kB / 0.7139 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/0.9496, allocations: 99.97 kB / 0.714 GB, free: 6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004844/0.9545, allocations: 2.384 MB / 0.7163 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9545, allocations: 0 / 0.7163 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004451/0.959, allocations: 1.106 MB / 0.7174 GB, free: 2.496 MB / 0.4981 GB 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.0005355/0.9595, allocations: 226.4 kB / 0.7176 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006105/0.9656, allocations: 3.584 MB / 0.7211 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/0.9657, allocations: 4 kB / 0.7211 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.9682, allocations: 1.565 MB / 0.7226 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.9714, allocations: 0.5341 MB / 0.7231 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.9885, allocations: 9.369 MB / 0.7323 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004236/0.9928, allocations: 3.635 MB / 0.7358 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003594/0.9964, allocations: 1.476 MB / 0.7373 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007171/0.9971, allocations: 255.4 kB / 0.7375 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.9971, allocations: 0 / 0.7375 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.06635/1.063, allocations: 35.44 MB / 0.7721 GB, free: 10.23 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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: 7.336061022710055]