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.001379/0.001379, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.001417/0.001417, allocations: 205.3 kB / 23.72 MB, free: 4.5 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2318/0.2318, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.002428/0.002428, allocations: 72.09 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3586, allocations: 66.04 MB / 0.5611 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01102/0.3696, allocations: 8.243 MB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005872/0.3755, allocations: 2.726 MB / 0.5718 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.3766, allocations: 87.56 kB / 0.5719 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008344/0.385, allocations: 3.485 MB / 0.5753 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.3884, allocations: 1.08 MB / 0.5763 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.3904, allocations: 0.7724 MB / 0.5771 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0057/0.3961, allocations: 4.871 MB / 0.5818 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.4078, allocations: 7.694 MB / 0.5894 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003958/0.4118, allocations: 2.849 MB / 0.5921 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005093/0.4169, allocations: 3.064 MB / 0.5951 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001758/0.4186, allocations: 0.7656 MB / 0.5959 GB, free: 468 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.4224, allocations: 0.9334 MB / 0.5968 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002645/0.425, allocations: 1.605 MB / 0.5984 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004521/0.4296, allocations: 2.335 MB / 0.6006 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.4412, allocations: 10.54 MB / 0.6109 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4412, allocations: 0 / 0.6109 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4412, allocations: 0 / 0.6109 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002459/0.4414, allocations: 0 / 0.6109 GB, free: 0.9961 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.01697/0.4584, allocations: 6.355 MB / 0.6171 GB, free: 10.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4585, allocations: 12.03 kB / 0.6171 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02278/0.4812, allocations: 3.922 MB / 0.621 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00827/0.4895, allocations: 3.261 MB / 0.6242 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.4899, allocations: 394.4 kB / 0.6245 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.4916, allocations: 0.4922 MB / 0.625 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.5092, allocations: 8.704 MB / 0.6335 GB, free: 9.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.5093, allocations: 7.938 kB / 0.6335 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005393/0.5098, allocations: 216 kB / 0.6337 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003907/0.5102, allocations: 343.1 kB / 0.6341 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.5257, allocations: 8 MB / 0.6419 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04112/0.5668, allocations: 21.98 MB / 0.6633 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/0.5782, allocations: 4.566 MB / 0.6678 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002728/0.5809, allocations: 1.479 MB / 0.6692 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.5811, allocations: 65.88 kB / 0.6693 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/0.5812, allocations: 64.44 kB / 0.6694 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.369e-06/0.5812, allocations: 0 / 0.6694 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.005939/0.5872, allocations: 3.45 MB / 0.6727 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.5872, allocations: 99.11 kB / 0.6728 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/0.5902, allocations: 1.996 MB / 0.6748 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.5904, allocations: 61.7 kB / 0.6748 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.5921, allocations: 2.264 MB / 0.677 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007134/0.5928, allocations: 0.7787 MB / 0.6778 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.5938, allocations: 0.7108 MB / 0.6785 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5939, allocations: 301.1 kB / 0.6788 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.5964, allocations: 1.568 MB / 0.6803 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00383/0.6002, allocations: 3.191 MB / 0.6834 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006751/0.607, allocations: 5.071 MB / 0.6884 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.633e-05/0.607, allocations: 16 kB / 0.6884 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007969/0.615, allocations: 4.891 MB / 0.6932 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.615, allocations: 28 kB / 0.6932 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-05/0.6151, allocations: 56 kB / 0.6933 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-05/0.6152, allocations: 80.03 kB / 0.6933 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.6182, allocations: 0.9126 MB / 0.6942 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.856e-05/0.6183, allocations: 115.6 kB / 0.6943 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.6207, allocations: 481 kB / 0.6948 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/0.6209, allocations: 192 kB / 0.695 GB, free: 8.668 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.003242/0.6242, allocations: 2.081 MB / 0.697 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/0.6245, allocations: 198.7 kB / 0.6972 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/0.6297, allocations: 3.091 MB / 0.7002 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.6297, allocations: 24 kB / 0.7002 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.6297, allocations: 0 / 0.7002 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.6297, allocations: 11.95 kB / 0.7002 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.6423, allocations: 7.587 MB / 0.7077 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/0.6423, allocations: 16 kB / 0.7077 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/0.6445, allocations: 0.5584 MB / 0.7082 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.043e-05/0.6445, allocations: 28 kB / 0.7082 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.6446, allocations: 87.91 kB / 0.7083 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.017e-05/0.6447, allocations: 31.92 kB / 0.7084 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.399e-05/0.6447, allocations: 27.88 kB / 0.7084 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007339/0.652, allocations: 5.19 MB / 0.7135 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.6532, allocations: 497.9 kB / 0.7139 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/0.6535, allocations: 67.98 kB / 0.714 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.6547, allocations: 127.9 kB / 0.7141 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.655, allocations: 225.2 kB / 0.7143 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.6552, allocations: 99.92 kB / 0.7144 GB, free: 4.117 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001918/0.6571, allocations: 1.298 MB / 0.7157 GB, free: 2.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6571, allocations: 3.938 kB / 0.7157 GB, free: 2.816 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00357/0.6607, allocations: 1.199 MB / 0.7169 GB, free: 1.613 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.0004341/0.6611, allocations: 222.5 kB / 0.7171 GB, free: 1.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005988/0.6671, allocations: 3.465 MB / 0.7205 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.6671, allocations: 5.625 kB / 0.7205 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.6694, allocations: 1.475 MB / 0.7219 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.6721, allocations: 495 kB / 0.7224 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.688, allocations: 9.116 MB / 0.7313 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2983/0.9863, allocations: 3.113 MB / 0.7343 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004639/0.9909, allocations: 1.374 MB / 0.7357 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/0.9916, allocations: 224.5 kB / 0.7359 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.9916, allocations: 0 / 0.7359 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.05023/1.042, allocations: 35.29 MB / 0.7703 GB, free: 125 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/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_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.95853678509593]