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.006682/0.006682, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001855/0.001855, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.456/1.456, allocations: 230.5 MB / 258.9 MB, free: 8.016 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.2295/0.2295, allocations: 46.92 MB / 362.3 MB, free: 4.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.002325/0.002325, allocations: 79.86 kB / 0.4982 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3472, allocations: 66.08 MB / 0.5627 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01234/0.3596, allocations: 9.507 MB / 0.572 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00646/0.366, allocations: 2.842 MB / 0.5748 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.3674, allocations: 83.56 kB / 0.5749 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009207/0.3766, allocations: 3.799 MB / 0.5786 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004286/0.3809, allocations: 1.092 MB / 0.5796 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.3831, allocations: 0.7947 MB / 0.5804 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006432/0.3896, allocations: 4.871 MB / 0.5852 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01251/0.4021, allocations: 7.766 MB / 0.5928 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004798/0.4069, allocations: 2.864 MB / 0.5955 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00596/0.4128, allocations: 3.146 MB / 0.5986 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0024/0.4152, allocations: 0.7656 MB / 0.5994 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.4186, allocations: 0.9373 MB / 0.6003 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002659/0.4213, allocations: 1.609 MB / 0.6019 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005615/0.4269, allocations: 3.008 MB / 0.6048 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01484/0.4418, allocations: 10.49 MB / 0.615 GB, free: 14.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.4418, allocations: 0 / 0.615 GB, free: 14.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.4418, allocations: 0 / 0.615 GB, free: 14.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003396/0.4421, allocations: 0 / 0.615 GB, free: 14.45 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.02018/0.4623, allocations: 6.344 MB / 0.6212 GB, free: 8.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4623, allocations: 12.03 kB / 0.6212 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02246/0.4848, allocations: 3.926 MB / 0.6251 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007669/0.4925, allocations: 3.268 MB / 0.6283 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004549/0.4929, allocations: 394.4 kB / 0.6286 GB, free: 416 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002119/0.495, allocations: 0.4922 MB / 0.6291 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02271/0.5178, allocations: 8.7 MB / 0.6376 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001769/0.5179, allocations: 11.94 kB / 0.6376 GB, free: 7.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/0.5191, allocations: 208 kB / 0.6378 GB, free: 6.957 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004237/0.5195, allocations: 343.1 kB / 0.6382 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.5372, allocations: 8.035 MB / 0.646 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04833/0.5855, allocations: 25.29 MB / 0.6707 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.5967, allocations: 4.629 MB / 0.6752 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002861/0.5996, allocations: 1.487 MB / 0.6767 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.5998, allocations: 77.88 kB / 0.6768 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.5998, allocations: 56.56 kB / 0.6768 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 3.717e-06/0.5998, allocations: 0 / 0.6768 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.006294/0.6061, allocations: 3.527 MB / 0.6802 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.6062, allocations: 99.11 kB / 0.6803 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005424/0.6116, allocations: 3.43 MB / 0.6837 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000291/0.6119, allocations: 61.7 kB / 0.6838 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.6138, allocations: 2.226 MB / 0.6859 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009368/0.6148, allocations: 0.7825 MB / 0.6867 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.6158, allocations: 0.7147 MB / 0.6874 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.616, allocations: 301.1 kB / 0.6877 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/0.6187, allocations: 1.564 MB / 0.6892 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/0.6228, allocations: 3.187 MB / 0.6923 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00725/0.63, allocations: 5.083 MB / 0.6973 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-05/0.6301, allocations: 16 kB / 0.6973 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009138/0.6392, allocations: 4.96 MB / 0.7021 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.6393, allocations: 32 kB / 0.7022 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.239e-05/0.6393, allocations: 52 kB / 0.7022 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-05/0.6394, allocations: 80 kB / 0.7023 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003204/0.6426, allocations: 0.913 MB / 0.7032 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001101/0.6427, allocations: 115.6 kB / 0.7033 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.6454, allocations: 0.5702 MB / 0.7039 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/0.6457, allocations: 196 kB / 0.704 GB, free: 1.027 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.003485/0.6492, allocations: 2.085 MB / 0.7061 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005494/0.6498, allocations: 278.1 kB / 0.7063 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005838/0.6556, allocations: 3.172 MB / 0.7094 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.6556, allocations: 27.98 kB / 0.7095 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.6556, allocations: 0 / 0.7095 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.6557, allocations: 7.969 kB / 0.7095 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.6717, allocations: 8.649 MB / 0.7179 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/0.6718, allocations: 16.94 kB / 0.7179 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/0.674, allocations: 0.5695 MB / 0.7185 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-05/0.674, allocations: 31.94 kB / 0.7185 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/0.6742, allocations: 71.98 kB / 0.7186 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.45e-05/0.6742, allocations: 35.92 kB / 0.7186 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-05/0.6742, allocations: 23.88 kB / 0.7186 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008021/0.6822, allocations: 5.272 MB / 0.7238 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/0.6841, allocations: 0.6574 MB / 0.7244 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004943/0.6846, allocations: 71.94 kB / 0.7245 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.6859, allocations: 119.9 kB / 0.7246 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/0.6863, allocations: 233.2 kB / 0.7248 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.6864, allocations: 95.97 kB / 0.7249 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004329/0.6907, allocations: 2.384 MB / 0.7273 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6907, allocations: 0 / 0.7273 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004127/0.6949, allocations: 1.114 MB / 0.7284 GB, free: 7.461 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.0005664/0.6954, allocations: 230 kB / 0.7286 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006524/0.702, allocations: 3.474 MB / 0.732 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/0.702, allocations: 3.938 kB / 0.732 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0029/0.7049, allocations: 1.475 MB / 0.7334 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/0.7082, allocations: 0.5234 MB / 0.7339 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2601/0.9683, allocations: 9.234 MB / 0.7429 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/0.9707, allocations: 3.535 MB / 0.7464 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000878/0.9716, allocations: 292.5 kB / 0.7467 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.9716, allocations: 3.938 kB / 0.7467 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.07019/1.042, allocations: 59.24 MB / 0.8045 GB, free: 94.6 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/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: 12.199820626992732]