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.001566/0.001566, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001874/0.001874, allocations: 205 kB / 21.45 MB, free: 1.629 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.567/1.567, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.2631/0.2631, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.002289/0.002289, allocations: 83.86 kB / 0.4921 GB, free: 7.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.174, allocations: 66.04 MB / 0.5566 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.0127/0.1867, allocations: 9.471 MB / 0.5659 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00767/0.1944, allocations: 2.842 MB / 0.5686 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.1969, allocations: 87.56 kB / 0.5687 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009718/0.2066, allocations: 3.784 MB / 0.5724 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.2121, allocations: 1.057 MB / 0.5735 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.2148, allocations: 0.7983 MB / 0.5742 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008924/0.2237, allocations: 4.832 MB / 0.579 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01553/0.2393, allocations: 9.341 MB / 0.5881 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005707/0.245, allocations: 2.852 MB / 0.5909 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3608/0.6058, allocations: 3.136 MB / 0.5939 GB, free: 14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.6081, allocations: 0.766 MB / 0.5947 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.6107, allocations: 0.9427 MB / 0.5956 GB, free: 14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.6122, allocations: 1.601 MB / 0.5972 GB, free: 14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006618/0.6189, allocations: 3.015 MB / 0.6001 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.6335, allocations: 10.48 MB / 0.6103 GB, free: 11.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.6335, allocations: 0 / 0.6103 GB, free: 11.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6335, allocations: 1.312 kB / 0.6103 GB, free: 11.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004286/0.6339, allocations: 0 / 0.6103 GB, free: 11.19 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.02263/0.6565, allocations: 6.42 MB / 0.6166 GB, free: 7.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.6566, allocations: 9.188 kB / 0.6166 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02327/0.6799, allocations: 3.931 MB / 0.6205 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/0.6868, allocations: 3.233 MB / 0.6236 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.687, allocations: 391.8 kB / 0.624 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/0.6887, allocations: 0.4994 MB / 0.6245 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.7061, allocations: 8.708 MB / 0.633 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.7062, allocations: 6.375 kB / 0.633 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006026/0.7068, allocations: 216.5 kB / 0.6332 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000289/0.7071, allocations: 341.2 kB / 0.6335 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.7223, allocations: 8.036 MB / 0.6414 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05837/0.7807, allocations: 27.81 MB / 0.6685 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/0.7955, allocations: 10.02 MB / 0.6783 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003403/0.7989, allocations: 1.488 MB / 0.6798 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/0.7993, allocations: 232.9 kB / 0.68 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.525e-05/0.7994, allocations: 55.19 kB / 0.68 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.609e-06/0.7994, allocations: 0 / 0.68 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006743/0.8061, allocations: 3.534 MB / 0.6835 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.8062, allocations: 99.11 kB / 0.6836 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006449/0.8126, allocations: 3.426 MB / 0.6869 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005279/0.8132, allocations: 68.22 kB / 0.687 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002271/0.8154, allocations: 2.223 MB / 0.6892 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/0.817, allocations: 0.7767 MB / 0.6899 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001361/0.8183, allocations: 0.7108 MB / 0.6906 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.8185, allocations: 305.1 kB / 0.6909 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/0.8214, allocations: 1.564 MB / 0.6924 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004571/0.826, allocations: 3.189 MB / 0.6955 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007982/0.8339, allocations: 5.083 MB / 0.7005 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.835e-05/0.834, allocations: 20 kB / 0.7005 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.0106/0.8446, allocations: 4.959 MB / 0.7054 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/0.8447, allocations: 28 kB / 0.7054 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.905e-05/0.8447, allocations: 59.98 kB / 0.7055 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.8448, allocations: 83.94 kB / 0.7055 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/0.8481, allocations: 0.9112 MB / 0.7064 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001121/0.8483, allocations: 114.2 kB / 0.7065 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/0.8517, allocations: 0.5703 MB / 0.7071 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003255/0.852, allocations: 192 kB / 0.7073 GB, free: 2 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.004534/0.8565, allocations: 2.075 MB / 0.7093 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006652/0.8572, allocations: 278.2 kB / 0.7096 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005994/0.8632, allocations: 3.185 MB / 0.7127 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.8632, allocations: 20 kB / 0.7127 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.8632, allocations: 4 kB / 0.7127 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/0.8632, allocations: 19.89 kB / 0.7127 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.8801, allocations: 8.653 MB / 0.7212 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.139e-05/0.8802, allocations: 19.98 kB / 0.7212 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/0.8824, allocations: 0.5621 MB / 0.7217 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.387e-05/0.8824, allocations: 31.94 kB / 0.7218 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/0.8826, allocations: 79.97 kB / 0.7218 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-05/0.8826, allocations: 43.3 kB / 0.7219 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.838e-05/0.8827, allocations: 23.55 kB / 0.7219 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008052/0.8907, allocations: 5.267 MB / 0.7271 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/0.8927, allocations: 0.7093 MB / 0.7277 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/0.8932, allocations: 72.05 kB / 0.7278 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.8946, allocations: 123.9 kB / 0.7279 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/0.8949, allocations: 220 kB / 0.7281 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.8951, allocations: 99.91 kB / 0.7282 GB, free: 12.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005031/0.9001, allocations: 2.384 MB / 0.7306 GB, free: 9.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9001, allocations: 0 / 0.7306 GB, free: 9.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007319/0.9075, allocations: 1.106 MB / 0.7316 GB, free: 8.688 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.001028/0.9085, allocations: 227.3 kB / 0.7319 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00795/0.9164, allocations: 3.477 MB / 0.7353 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.799e-05/0.9165, allocations: 8 kB / 0.7353 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002937/0.9194, allocations: 1.47 MB / 0.7367 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/0.9234, allocations: 0.529 MB / 0.7372 GB, free: 3.297 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/0.9427, allocations: 9.365 MB / 0.7464 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004557/0.9473, allocations: 3.632 MB / 0.7499 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003827/0.9511, allocations: 1.476 MB / 0.7514 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008564/0.952, allocations: 263.4 kB / 0.7516 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/0.952, allocations: 0 / 0.7516 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of Templates: time 0.07665/1.029, allocations: 37.06 MB / 0.7878 GB, free: 15.47 MB / 0.6075 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.434887629002333]