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.001359/0.001359, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001414/0.001414, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.601/1.601, allocations: 230.4 MB / 254 MB, free: 15.19 MB / 206.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.2352/0.2352, allocations: 46.93 MB / 357 MB, free: 10.22 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|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002835/0.002835, allocations: 76.16 kB / 0.4914 GB, free: 7.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1741, allocations: 66.05 MB / 0.5559 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01439/0.1885, allocations: 9.476 MB / 0.5652 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009268/0.1978, allocations: 2.838 MB / 0.568 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.2006, allocations: 87.56 kB / 0.568 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01009/0.2107, allocations: 3.783 MB / 0.5717 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006219/0.2169, allocations: 1.064 MB / 0.5728 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.2201, allocations: 0.7784 MB / 0.5735 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008161/0.2282, allocations: 4.84 MB / 0.5783 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01899/0.2472, allocations: 9.345 MB / 0.5874 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006803/0.254, allocations: 2.849 MB / 0.5902 GB, free: 1.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3669/0.6209, allocations: 3.134 MB / 0.5932 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002906/0.6238, allocations: 0.767 MB / 0.594 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003921/0.6277, allocations: 0.939 MB / 0.5949 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00286/0.6306, allocations: 1.602 MB / 0.5965 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00873/0.6393, allocations: 3.016 MB / 0.5994 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0209/0.6602, allocations: 10.48 MB / 0.6096 GB, free: 11.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.6602, allocations: 1.656 kB / 0.6096 GB, free: 11.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6602, allocations: 0 / 0.6096 GB, free: 11.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000516/0.6607, allocations: 0 / 0.6096 GB, free: 11.15 MB / 446.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.03228/0.693, allocations: 6.427 MB / 0.6159 GB, free: 7.391 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.387e-05/0.6931, allocations: 9.688 kB / 0.6159 GB, free: 7.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0258/0.7189, allocations: 3.929 MB / 0.6198 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009795/0.7287, allocations: 3.239 MB / 0.6229 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005513/0.7292, allocations: 392.7 kB / 0.6233 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003579/0.7328, allocations: 0.5005 MB / 0.6238 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02971/0.7625, allocations: 8.703 MB / 0.6323 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/0.7629, allocations: 11.27 kB / 0.6323 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003231/0.7661, allocations: 209.2 kB / 0.6325 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005394/0.7666, allocations: 340 kB / 0.6328 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/0.7886, allocations: 8.035 MB / 0.6407 GB, free: 8.238 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06372/0.8523, allocations: 27.81 MB / 0.6678 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/0.8688, allocations: 10.02 MB / 0.6776 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003529/0.8723, allocations: 1.486 MB / 0.6791 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003944/0.8727, allocations: 228.3 kB / 0.6793 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.683e-05/0.8728, allocations: 56.56 kB / 0.6793 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.639e-06/0.8728, allocations: 0 / 0.6793 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.007607/0.8804, allocations: 3.533 MB / 0.6828 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/0.8805, allocations: 101.7 kB / 0.6829 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009381/0.8898, allocations: 3.43 MB / 0.6862 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002998/0.8901, allocations: 61.7 kB / 0.6863 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002614/0.8928, allocations: 2.23 MB / 0.6885 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.8939, allocations: 0.7785 MB / 0.6892 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001838/0.8958, allocations: 0.703 MB / 0.6899 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8959, allocations: 301.1 kB / 0.6902 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/0.8991, allocations: 1.572 MB / 0.6917 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004971/0.9041, allocations: 3.187 MB / 0.6949 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007826/0.9119, allocations: 5.081 MB / 0.6998 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.578e-05/0.912, allocations: 16 kB / 0.6998 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01144/0.9234, allocations: 4.957 MB / 0.7047 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.9236, allocations: 31.98 kB / 0.7047 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/0.9237, allocations: 60.16 kB / 0.7048 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.9239, allocations: 79.94 kB / 0.7048 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/0.9276, allocations: 0.9164 MB / 0.7057 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001487/0.9277, allocations: 110.3 kB / 0.7058 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003923/0.9317, allocations: 0.5741 MB / 0.7064 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005667/0.9322, allocations: 196 kB / 0.7066 GB, free: 1.973 MB / 0.5137 GB 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.005234/0.9375, allocations: 2.077 MB / 0.7086 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008155/0.9383, allocations: 274.2 kB / 0.7089 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006708/0.945, allocations: 3.178 MB / 0.712 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/0.945, allocations: 24 kB / 0.712 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.945, allocations: 3.938 kB / 0.712 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.751e-05/0.9451, allocations: 11.95 kB / 0.712 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/0.9653, allocations: 8.667 MB / 0.7205 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6e-05/0.9654, allocations: 16 kB / 0.7205 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/0.9678, allocations: 0.5613 MB / 0.721 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.558e-05/0.9678, allocations: 24 kB / 0.7211 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/0.9681, allocations: 79.97 kB / 0.7211 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.775e-05/0.9682, allocations: 38.64 kB / 0.7212 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.906e-05/0.9682, allocations: 31.53 kB / 0.7212 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008905/0.9771, allocations: 5.268 MB / 0.7264 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/0.9792, allocations: 0.7054 MB / 0.727 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009965/0.9802, allocations: 67.98 kB / 0.7271 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/0.9823, allocations: 127.9 kB / 0.7272 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004791/0.9828, allocations: 209.9 kB / 0.7274 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/0.983, allocations: 103.9 kB / 0.7275 GB, free: 12.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006072/0.9891, allocations: 2.392 MB / 0.7299 GB, free: 9.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.9891, allocations: 2.906 kB / 0.7299 GB, free: 9.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006528/0.9956, allocations: 1.103 MB / 0.731 GB, free: 8.664 MB / 0.545 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.0008492/0.9964, allocations: 233.9 kB / 0.7312 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007434/1.004, allocations: 3.476 MB / 0.7346 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/1.004, allocations: 4 kB / 0.7346 GB, free: 5.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002873/1.007, allocations: 1.469 MB / 0.736 GB, free: 3.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004754/1.012, allocations: 0.533 MB / 0.7365 GB, free: 3.277 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/1.035, allocations: 9.364 MB / 0.7457 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007102/1.042, allocations: 3.628 MB / 0.7492 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004974/1.047, allocations: 1.476 MB / 0.7507 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.048, allocations: 259.4 kB / 0.7509 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of SimCode: time 1.704e-06/1.048, allocations: 0 / 0.7509 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of Templates: time 0.0847/1.133, allocations: 37.05 MB / 0.7871 GB, free: 15.46 MB / 0.6075 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.1.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.682193476706743]