Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001438/0.001438, allocations: 118 kB / 18.46 MB, free: 4.613 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.001814/0.001814, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.65/1.65, allocations: 227.5 MB / 251.7 MB, free: 15.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2696/0.2696, allocations: 46.13 MB / 351.1 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 88.55 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1459, allocations: 62.45 MB / 0.5397 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01164/0.1576, allocations: 9.442 MB / 0.5489 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007708/0.1653, allocations: 2.823 MB / 0.5517 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/0.1687, allocations: 75.75 kB / 0.5517 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009809/0.1786, allocations: 3.741 MB / 0.5554 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.1838, allocations: 1.056 MB / 0.5564 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.1863, allocations: 0.7791 MB / 0.5572 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006476/0.1927, allocations: 4.835 MB / 0.5619 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01612/0.2089, allocations: 11.98 MB / 0.5736 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004298/0.2132, allocations: 2.802 MB / 0.5763 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005377/0.2186, allocations: 3.107 MB / 0.5794 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002054/0.2207, allocations: 0.7656 MB / 0.5801 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.2232, allocations: 0.9373 MB / 0.581 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001864/0.2251, allocations: 1.594 MB / 0.5826 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004535/0.2296, allocations: 3.016 MB / 0.5855 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01396/0.2436, allocations: 10.5 MB / 0.5958 GB, free: 10.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2436, allocations: 0 / 0.5958 GB, free: 10.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2437, allocations: 0 / 0.5958 GB, free: 10.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003739/0.244, allocations: 0 / 0.5958 GB, free: 10.72 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.02226/0.2663, allocations: 6.415 MB / 0.602 GB, free: 4.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.2664, allocations: 8.031 kB / 0.6021 GB, free: 4.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02595/0.2923, allocations: 3.926 MB / 0.6059 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.389/0.6814, allocations: 3.239 MB / 0.6091 GB, free: 52.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006485/0.6821, allocations: 387.8 kB / 0.6094 GB, free: 52.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002649/0.6848, allocations: 0.4989 MB / 0.6099 GB, free: 51.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02591/0.7107, allocations: 8.707 MB / 0.6184 GB, free: 48.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.7109, allocations: 2.406 kB / 0.6184 GB, free: 48.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007613/0.7116, allocations: 209.1 kB / 0.6186 GB, free: 48.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004377/0.7121, allocations: 338.4 kB / 0.6189 GB, free: 48.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.7298, allocations: 8.048 MB / 0.6268 GB, free: 45.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03897/0.7688, allocations: 27.81 MB / 0.654 GB, free: 22.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.7797, allocations: 10.21 MB / 0.6639 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.782, allocations: 1.598 MB / 0.6655 GB, free: 9.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.7823, allocations: 227.3 kB / 0.6657 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.7823, allocations: 52.56 kB / 0.6658 GB, free: 9.652 MB / 462.1 MB Notification: Performance of pre-optimization done (n=214): time 4.719e-06/0.7823, allocations: 0 / 0.6658 GB, free: 9.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=214): time 0.004774/0.7871, allocations: 3.53 MB / 0.6692 GB, free: 6.121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.7872, allocations: 99.11 kB / 0.6693 GB, free: 6.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/0.7913, allocations: 3.43 MB / 0.6726 GB, free: 2.586 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.7915, allocations: 68.98 kB / 0.6727 GB, free: 2.516 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009917/0.7925, allocations: 2.225 MB / 0.6749 GB, free: 296 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007021/0.7932, allocations: 0.7744 MB / 0.6756 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.7943, allocations: 0.7108 MB / 0.6763 GB, free: 14.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.7945, allocations: 304.9 kB / 0.6766 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/0.7972, allocations: 1.568 MB / 0.6782 GB, free: 12.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/0.8013, allocations: 3.187 MB / 0.6813 GB, free: 8.992 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00745/0.8087, allocations: 5.082 MB / 0.6862 GB, free: 3.133 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.322e-05/0.8088, allocations: 16 kB / 0.6862 GB, free: 3.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.0101/0.8189, allocations: 4.961 MB / 0.6911 GB, free: 14.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.819, allocations: 28.84 kB / 0.6911 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.048e-05/0.8191, allocations: 56 kB / 0.6912 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.8192, allocations: 76 kB / 0.6912 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/0.8226, allocations: 0.9171 MB / 0.6921 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001092/0.8228, allocations: 111.6 kB / 0.6922 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/0.826, allocations: 0.5741 MB / 0.6928 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004439/0.8264, allocations: 192 kB / 0.693 GB, free: 12.2 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.00482/0.8313, allocations: 2.081 MB / 0.695 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008636/0.8321, allocations: 274.2 kB / 0.6953 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00598/0.8381, allocations: 3.185 MB / 0.6984 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.8382, allocations: 24 kB / 0.6984 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.8382, allocations: 0 / 0.6984 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/0.8382, allocations: 11.95 kB / 0.6984 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.8533, allocations: 8.662 MB / 0.7069 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/0.8534, allocations: 16 kB / 0.7069 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/0.8555, allocations: 0.5657 MB / 0.7075 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.364e-05/0.8555, allocations: 28 kB / 0.7075 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.8557, allocations: 79.97 kB / 0.7076 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.481e-05/0.8557, allocations: 39.92 kB / 0.7076 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.988e-05/0.8558, allocations: 27.81 kB / 0.7076 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007584/0.8634, allocations: 5.264 MB / 0.7128 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.8649, allocations: 0.7054 MB / 0.7135 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004346/0.8654, allocations: 71.98 kB / 0.7135 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.8667, allocations: 127.9 kB / 0.7136 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/0.867, allocations: 225.3 kB / 0.7139 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.8672, allocations: 91.98 kB / 0.7139 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004174/0.8714, allocations: 2.388 MB / 0.7163 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8714, allocations: 0 / 0.7163 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004647/0.8761, allocations: 1.103 MB / 0.7174 GB, free: 2.617 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.0005256/0.8766, allocations: 226.4 kB / 0.7176 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00664/0.8833, allocations: 3.586 MB / 0.7211 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.035e-05/0.8833, allocations: 2.375 kB / 0.7211 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002861/0.8862, allocations: 1.568 MB / 0.7226 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/0.8895, allocations: 0.5438 MB / 0.7231 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.9066, allocations: 9.357 MB / 0.7323 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004344/0.911, allocations: 3.636 MB / 0.7358 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003623/0.9147, allocations: 1.476 MB / 0.7373 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007945/0.9155, allocations: 263.4 kB / 0.7375 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of SimCode: time 7.61e-07/0.9155, allocations: 0 / 0.7375 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.06818/0.9837, allocations: 35.43 MB / 0.7721 GB, free: 10.38 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.455582172144204]