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.001305/0.001305, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001455/0.001455, allocations: 209.5 kB / 25.13 MB, free: 3.586 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.49/1.49, allocations: 230.4 MB / 258.7 MB, free: 8.035 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.2434/0.2434, allocations: 46.93 MB / 362 MB, free: 4.23 MB / 286.1 MB " [Timeout remaining time 179] 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.002394/0.002394, allocations: 79.88 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.374, allocations: 66.08 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01159/0.3856, allocations: 9.413 MB / 0.5715 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.3922, allocations: 2.842 MB / 0.5743 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.3938, allocations: 87.56 kB / 0.5744 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008803/0.4026, allocations: 3.764 MB / 0.578 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00427/0.4069, allocations: 1.088 MB / 0.5791 GB, free: 3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.409, allocations: 0.8057 MB / 0.5799 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006246/0.4153, allocations: 4.871 MB / 0.5847 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01213/0.4274, allocations: 7.766 MB / 0.5922 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005108/0.4325, allocations: 2.856 MB / 0.595 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006246/0.4388, allocations: 3.158 MB / 0.5981 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002451/0.4412, allocations: 0.7656 MB / 0.5989 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/0.4447, allocations: 0.9333 MB / 0.5998 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002492/0.4471, allocations: 1.606 MB / 0.6013 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005745/0.4529, allocations: 3.008 MB / 0.6043 GB, free: 9.059 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.4672, allocations: 10.55 MB / 0.6146 GB, free: 14.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4672, allocations: 0 / 0.6146 GB, free: 14.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.4672, allocations: 0 / 0.6146 GB, free: 14.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003107/0.4675, allocations: 0 / 0.6146 GB, free: 14.48 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.02003/0.4876, allocations: 6.34 MB / 0.6208 GB, free: 8.082 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.4876, allocations: 12.03 kB / 0.6208 GB, free: 8.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02219/0.5098, allocations: 3.926 MB / 0.6246 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00818/0.518, allocations: 3.265 MB / 0.6278 GB, free: 0.832 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004396/0.5184, allocations: 390.5 kB / 0.6282 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002162/0.5206, allocations: 0.4961 MB / 0.6287 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.5419, allocations: 8.708 MB / 0.6372 GB, free: 7.203 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.542, allocations: 7.953 kB / 0.6372 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008615/0.5429, allocations: 204 kB / 0.6374 GB, free: 6.996 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003825/0.5433, allocations: 343.1 kB / 0.6377 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01721/0.5605, allocations: 8.039 MB / 0.6455 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05342/0.6139, allocations: 25.15 MB / 0.6701 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.6255, allocations: 4.562 MB / 0.6746 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/0.6286, allocations: 1.487 MB / 0.676 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.6288, allocations: 77.8 kB / 0.6761 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.6289, allocations: 56.56 kB / 0.6761 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 5.1e-06/0.6289, allocations: 0 / 0.6761 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.006678/0.6355, allocations: 3.527 MB / 0.6796 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.6356, allocations: 99.11 kB / 0.6797 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005973/0.6416, allocations: 3.437 MB / 0.683 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000348/0.6419, allocations: 61.7 kB / 0.6831 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/0.6441, allocations: 2.226 MB / 0.6853 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.6452, allocations: 0.7787 MB / 0.686 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.6463, allocations: 0.7147 MB / 0.6867 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6465, allocations: 301.1 kB / 0.687 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002811/0.6493, allocations: 1.564 MB / 0.6885 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004266/0.6535, allocations: 3.187 MB / 0.6917 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007702/0.6612, allocations: 5.087 MB / 0.6966 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.181e-05/0.6613, allocations: 16 kB / 0.6966 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01014/0.6714, allocations: 4.96 MB / 0.7015 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.855e-05/0.6715, allocations: 28 kB / 0.7015 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.691e-05/0.6716, allocations: 56 kB / 0.7016 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.59e-05/0.6716, allocations: 76 kB / 0.7016 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/0.6751, allocations: 0.9126 MB / 0.7025 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001186/0.6752, allocations: 123.8 kB / 0.7026 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.6781, allocations: 0.5702 MB / 0.7032 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004773/0.6786, allocations: 192 kB / 0.7034 GB, free: 1.254 MB / 0.5294 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.003673/0.6823, allocations: 2.073 MB / 0.7054 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005789/0.6828, allocations: 286.1 kB / 0.7057 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006027/0.6889, allocations: 3.172 MB / 0.7088 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.6889, allocations: 24 kB / 0.7088 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.6889, allocations: 4 kB / 0.7088 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.6889, allocations: 11.95 kB / 0.7088 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/0.7058, allocations: 8.637 MB / 0.7173 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/0.7058, allocations: 16 kB / 0.7173 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/0.7081, allocations: 0.5663 MB / 0.7178 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.11e-05/0.7082, allocations: 32 kB / 0.7178 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.7084, allocations: 75.97 kB / 0.7179 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.762e-05/0.7084, allocations: 39.86 kB / 0.718 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/0.7084, allocations: 19.94 kB / 0.718 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008238/0.7167, allocations: 5.272 MB / 0.7231 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/0.7186, allocations: 0.6496 MB / 0.7238 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005502/0.7191, allocations: 71.94 kB / 0.7238 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.7205, allocations: 123.9 kB / 0.7239 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/0.7209, allocations: 233.2 kB / 0.7242 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/0.7211, allocations: 95.98 kB / 0.7243 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004519/0.7256, allocations: 2.384 MB / 0.7266 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7256, allocations: 0 / 0.7266 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004253/0.7299, allocations: 1.114 MB / 0.7277 GB, free: 7.703 MB / 0.5606 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.0006554/0.7305, allocations: 222.5 kB / 0.7279 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007234/0.7378, allocations: 3.473 MB / 0.7313 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/0.7378, allocations: 3.938 kB / 0.7313 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002974/0.7408, allocations: 1.476 MB / 0.7327 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/0.7445, allocations: 0.5381 MB / 0.7333 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2789/1.023, allocations: 9.355 MB / 0.7424 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003217/1.027, allocations: 3.634 MB / 0.7459 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002878/1.029, allocations: 1.47 MB / 0.7474 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006575/1.03, allocations: 258.8 kB / 0.7476 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of SimCode: time 2.074e-06/1.03, allocations: 0 / 0.7476 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05824/1.088, allocations: 39.71 MB / 0.7864 GB, free: 112.8 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/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.0307525070384145]