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.001333/0.001333, allocations: 72.22 kB / 21.24 MB, free: 412 kB / 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.001534/0.001534, allocations: 167.4 kB / 24.5 MB, free: 3.461 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 8.918 MB / 190.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.2191/0.2191, allocations: 34.27 MB / 295.5 MB, free: 14.59 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+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.002086/0.002086, allocations: 67.88 kB / 443.1 MB, free: 6.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3609, allocations: 66 MB / 0.4972 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.007414/0.3683, allocations: 8.246 MB / 0.5053 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004899/0.3732, allocations: 2.728 MB / 0.5079 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007857/0.374, allocations: 88.12 kB / 0.508 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006688/0.3807, allocations: 3.685 MB / 0.5116 GB, free: 20.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.3836, allocations: 1.082 MB / 0.5127 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.3851, allocations: 0.7582 MB / 0.5134 GB, free: 19.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005056/0.3901, allocations: 4.867 MB / 0.5182 GB, free: 16.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/0.4013, allocations: 7.705 MB / 0.5257 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00552/0.4068, allocations: 2.849 MB / 0.5285 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006445/0.4132, allocations: 3.06 MB / 0.5315 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002289/0.4155, allocations: 0.7697 MB / 0.5322 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.4188, allocations: 0.9298 MB / 0.5331 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001802/0.4206, allocations: 1.608 MB / 0.5347 GB, free: 8.379 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004693/0.4253, allocations: 2.339 MB / 0.537 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.4366, allocations: 10.54 MB / 0.5473 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4366, allocations: 1.281 kB / 0.5473 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4366, allocations: 0 / 0.5473 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003284/0.4369, allocations: 3.938 kB / 0.5473 GB, free: 0.9258 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.01938/0.4563, allocations: 6.348 MB / 0.5535 GB, free: 11.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4563, allocations: 8.031 kB / 0.5535 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02377/0.4801, allocations: 3.93 MB / 0.5573 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008136/0.4882, allocations: 3.261 MB / 0.5605 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004505/0.4887, allocations: 394.5 kB / 0.5609 GB, free: 4.281 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002164/0.4909, allocations: 0.4922 MB / 0.5614 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/0.514, allocations: 8.704 MB / 0.5699 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/0.5141, allocations: 11.89 kB / 0.5699 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/0.5154, allocations: 208 kB / 0.5701 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004084/0.5158, allocations: 343.1 kB / 0.5704 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/0.5327, allocations: 8.003 MB / 0.5782 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04477/0.5774, allocations: 22 MB / 0.5997 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.5893, allocations: 4.556 MB / 0.6041 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/0.592, allocations: 1.483 MB / 0.6056 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.5922, allocations: 53.94 kB / 0.6056 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/0.5922, allocations: 68.44 kB / 0.6057 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.288e-06/0.5922, allocations: 4 kB / 0.6057 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006163/0.5984, allocations: 3.446 MB / 0.6091 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/0.5985, allocations: 99.11 kB / 0.6092 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003853/0.6023, allocations: 1.996 MB / 0.6111 GB, free: 300 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.6025, allocations: 57.7 kB / 0.6112 GB, free: 236 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00205/0.6045, allocations: 2.276 MB / 0.6134 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008062/0.6053, allocations: 0.7787 MB / 0.6142 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.6065, allocations: 0.703 MB / 0.6148 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6066, allocations: 305.1 kB / 0.6151 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/0.6093, allocations: 1.568 MB / 0.6167 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004235/0.6136, allocations: 3.183 MB / 0.6198 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007127/0.6207, allocations: 5.083 MB / 0.6247 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.106e-05/0.6207, allocations: 16 kB / 0.6248 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008972/0.6297, allocations: 4.886 MB / 0.6295 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.6298, allocations: 35.94 kB / 0.6296 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.784e-05/0.6299, allocations: 52 kB / 0.6296 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/0.63, allocations: 80 kB / 0.6297 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/0.6333, allocations: 0.921 MB / 0.6306 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001167/0.6334, allocations: 111.6 kB / 0.6307 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.6361, allocations: 477 kB / 0.6311 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000376/0.6364, allocations: 192 kB / 0.6313 GB, free: 9.988 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.00361/0.6401, allocations: 2.082 MB / 0.6334 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.6405, allocations: 198.7 kB / 0.6336 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005697/0.6462, allocations: 3.095 MB / 0.6366 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.6462, allocations: 20 kB / 0.6366 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6463, allocations: 0 / 0.6366 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.6463, allocations: 15.95 kB / 0.6366 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.6617, allocations: 7.579 MB / 0.644 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.597e-05/0.6618, allocations: 16 kB / 0.644 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/0.6642, allocations: 0.5617 MB / 0.6446 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.711e-05/0.6643, allocations: 28 kB / 0.6446 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/0.6645, allocations: 75.98 kB / 0.6447 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.466e-05/0.6646, allocations: 40.2 kB / 0.6447 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.562e-05/0.6646, allocations: 31.81 kB / 0.6447 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008773/0.6734, allocations: 5.182 MB / 0.6498 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/0.6748, allocations: 493.8 kB / 0.6503 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005529/0.6754, allocations: 67.98 kB / 0.6503 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.677, allocations: 131.9 kB / 0.6505 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/0.6773, allocations: 225.2 kB / 0.6507 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/0.6775, allocations: 99.97 kB / 0.6508 GB, free: 5.445 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002508/0.68, allocations: 1.298 MB / 0.652 GB, free: 4.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.68, allocations: 0 / 0.652 GB, free: 4.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004369/0.6844, allocations: 1.199 MB / 0.6532 GB, free: 2.945 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.0004972/0.6849, allocations: 222.5 kB / 0.6534 GB, free: 2.715 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006316/0.6912, allocations: 3.473 MB / 0.6568 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/0.6912, allocations: 4 kB / 0.6568 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002618/0.6938, allocations: 1.471 MB / 0.6583 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/0.697, allocations: 499.7 kB / 0.6587 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.7146, allocations: 9.112 MB / 0.6676 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004817/0.7194, allocations: 3.121 MB / 0.6707 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003609/0.723, allocations: 1.363 MB / 0.672 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008467/0.7238, allocations: 228.4 kB / 0.6722 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/0.7238, allocations: 0 / 0.6722 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.3292/1.053, allocations: 30.65 MB / 0.7022 GB, free: 144.1 MB / 0.5762 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 -s ida -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: 6.731501017929986]