Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 46.97 MB / 361.6 MB, free: 4.043 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3977, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01084/0.4086, allocations: 8.242 MB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006346/0.4149, allocations: 2.718 MB / 0.5725 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009335/0.4158, allocations: 87.56 kB / 0.5726 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007936/0.4238, allocations: 3.492 MB / 0.576 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.4275, allocations: 1.076 MB / 0.5771 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.4295, allocations: 0.7725 MB / 0.5778 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006641/0.4361, allocations: 4.871 MB / 0.5826 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01136/0.4475, allocations: 7.691 MB / 0.5901 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004405/0.4519, allocations: 2.864 MB / 0.5929 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005216/0.4571, allocations: 3.06 MB / 0.5959 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001473/0.4586, allocations: 0.7656 MB / 0.5966 GB, free: 320 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.4608, allocations: 0.9217 MB / 0.5975 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.4624, allocations: 1.609 MB / 0.5991 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004029/0.4664, allocations: 2.346 MB / 0.6014 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.4805, allocations: 10.53 MB / 0.6117 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.4805, allocations: 0 / 0.6117 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4805, allocations: 0 / 0.6117 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003505/0.4809, allocations: 4 kB / 0.6117 GB, free: 0.8555 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.02075/0.5016, allocations: 6.348 MB / 0.6179 GB, free: 10.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.5017, allocations: 8.031 kB / 0.6179 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02378/0.5255, allocations: 3.934 MB / 0.6217 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009255/0.5347, allocations: 3.261 MB / 0.6249 GB, free: 3.195 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005454/0.5353, allocations: 386.5 kB / 0.6253 GB, free: 2.816 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002431/0.5377, allocations: 0.5038 MB / 0.6258 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.562, allocations: 8.7 MB / 0.6343 GB, free: 9.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002546/0.5623, allocations: 7.953 kB / 0.6343 GB, free: 9.562 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002057/0.5643, allocations: 212 kB / 0.6345 GB, free: 9.355 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005377/0.5649, allocations: 339.1 kB / 0.6348 GB, free: 9.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.584, allocations: 8.011 MB / 0.6426 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05256/0.6366, allocations: 21.97 MB / 0.6641 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.6488, allocations: 4.563 MB / 0.6685 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/0.652, allocations: 1.479 MB / 0.67 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.6523, allocations: 65.94 kB / 0.67 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.268e-05/0.6523, allocations: 60.5 kB / 0.6701 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 5.701e-06/0.6524, allocations: 0 / 0.6701 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006811/0.6592, allocations: 3.446 MB / 0.6735 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/0.6593, allocations: 103.1 kB / 0.6736 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/0.6633, allocations: 1.992 MB / 0.6755 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002885/0.6636, allocations: 65.7 kB / 0.6756 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002065/0.6657, allocations: 2.268 MB / 0.6778 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.6667, allocations: 0.7787 MB / 0.6785 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/0.6683, allocations: 0.7069 MB / 0.6792 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.6685, allocations: 301.1 kB / 0.6795 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/0.6716, allocations: 1.568 MB / 0.681 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004586/0.6761, allocations: 3.191 MB / 0.6842 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007785/0.6839, allocations: 5.079 MB / 0.6891 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.163e-05/0.684, allocations: 16 kB / 0.6891 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01034/0.6943, allocations: 4.882 MB / 0.6939 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.6944, allocations: 28 kB / 0.6939 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.6945, allocations: 56.84 kB / 0.694 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.6947, allocations: 76.19 kB / 0.6941 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/0.6982, allocations: 0.9165 MB / 0.695 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001476/0.6984, allocations: 111.6 kB / 0.6951 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.7013, allocations: 481 kB / 0.6955 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000628/0.7019, allocations: 196 kB / 0.6957 GB, free: 8.531 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.00413/0.7061, allocations: 2.077 MB / 0.6977 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00065/0.7067, allocations: 202.7 kB / 0.6979 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006279/0.713, allocations: 3.098 MB / 0.701 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/0.713, allocations: 24 kB / 0.701 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.713, allocations: 0 / 0.701 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/0.7131, allocations: 11.95 kB / 0.701 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/0.7302, allocations: 7.564 MB / 0.7084 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.434e-05/0.7303, allocations: 20 kB / 0.7084 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/0.7326, allocations: 0.5733 MB / 0.7089 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-05/0.7327, allocations: 28 kB / 0.709 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/0.733, allocations: 72.45 kB / 0.709 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.208e-05/0.733, allocations: 39.92 kB / 0.7091 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-05/0.733, allocations: 23.88 kB / 0.7091 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008505/0.7415, allocations: 5.198 MB / 0.7142 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.7431, allocations: 497.7 kB / 0.7147 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005288/0.7436, allocations: 67.98 kB / 0.7147 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.7451, allocations: 124 kB / 0.7148 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/0.7455, allocations: 233.2 kB / 0.7151 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/0.7457, allocations: 95.97 kB / 0.7152 GB, free: 3.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002632/0.7484, allocations: 1.298 MB / 0.7164 GB, free: 2.684 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.7484, allocations: 0 / 0.7164 GB, free: 2.684 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004436/0.7528, allocations: 1.199 MB / 0.7176 GB, free: 1.48 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.0007024/0.7535, allocations: 222.5 kB / 0.7178 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006964/0.7605, allocations: 3.481 MB / 0.7212 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.41e-05/0.7605, allocations: 0 / 0.7212 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002915/0.7634, allocations: 1.472 MB / 0.7226 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/0.7669, allocations: 494.8 kB / 0.7231 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/0.7862, allocations: 8.996 MB / 0.7319 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.264/1.05, allocations: 3.018 MB / 0.7348 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.051, allocations: 257.1 kB / 0.7351 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/1.051, allocations: 0 / 0.7351 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.06969/1.121, allocations: 56.14 MB / 0.7899 GB, free: 106.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.68410575017333]