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.001338/0.001338, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001459/0.001459, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.551/1.551, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2452/0.2452, allocations: 46.93 MB / 357.1 MB, free: 10.41 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.002091/0.002091, allocations: 71.91 kB / 0.4914 GB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1806, allocations: 66 MB / 0.5558 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01347/0.194, allocations: 9.479 MB / 0.5651 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008348/0.2024, allocations: 2.835 MB / 0.5679 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/0.2049, allocations: 87.56 kB / 0.5679 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009937/0.2148, allocations: 3.78 MB / 0.5716 GB, free: 5.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005117/0.22, allocations: 1.061 MB / 0.5727 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.2227, allocations: 0.7908 MB / 0.5734 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007923/0.2306, allocations: 4.84 MB / 0.5782 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01521/0.2458, allocations: 9.334 MB / 0.5873 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005356/0.2511, allocations: 2.856 MB / 0.5901 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3928/0.644, allocations: 3.139 MB / 0.5931 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003383/0.6473, allocations: 0.7655 MB / 0.5939 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004638/0.652, allocations: 0.94 MB / 0.5948 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003724/0.6557, allocations: 1.604 MB / 0.5964 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00867/0.6644, allocations: 3.011 MB / 0.5993 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.6817, allocations: 10.48 MB / 0.6096 GB, free: 11.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.6817, allocations: 0 / 0.6096 GB, free: 11.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6817, allocations: 3.5 kB / 0.6096 GB, free: 11.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004477/0.6822, allocations: 0 / 0.6096 GB, free: 11.29 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.02645/0.7086, allocations: 6.422 MB / 0.6158 GB, free: 7.695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.7087, allocations: 9.094 kB / 0.6158 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02479/0.7334, allocations: 3.931 MB / 0.6197 GB, free: 5.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008657/0.7421, allocations: 3.238 MB / 0.6228 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/0.7426, allocations: 393.2 kB / 0.6232 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002933/0.7455, allocations: 0.4979 MB / 0.6237 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0232/0.7687, allocations: 8.701 MB / 0.6322 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002375/0.769, allocations: 5.109 kB / 0.6322 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/0.7707, allocations: 220 kB / 0.6324 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004159/0.7711, allocations: 337.6 kB / 0.6327 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/0.7899, allocations: 8.038 MB / 0.6406 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06486/0.8548, allocations: 27.81 MB / 0.6677 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/0.8706, allocations: 10.02 MB / 0.6775 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00325/0.8739, allocations: 1.49 MB / 0.679 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003332/0.8742, allocations: 225.1 kB / 0.6792 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/0.8743, allocations: 60.56 kB / 0.6793 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 3.647e-06/0.8743, allocations: 0 / 0.6793 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006759/0.8811, allocations: 3.53 MB / 0.6827 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.434e-05/0.8811, allocations: 101.7 kB / 0.6828 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006249/0.8874, allocations: 3.434 MB / 0.6861 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002444/0.8876, allocations: 57.7 kB / 0.6862 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.8896, allocations: 2.23 MB / 0.6884 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009888/0.8906, allocations: 0.7753 MB / 0.6891 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.8918, allocations: 0.7069 MB / 0.6898 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.892, allocations: 301.1 kB / 0.6901 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.8947, allocations: 1.564 MB / 0.6916 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/0.8988, allocations: 3.191 MB / 0.6948 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007948/0.9068, allocations: 5.083 MB / 0.6997 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.962e-05/0.9068, allocations: 16 kB / 0.6997 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01153/0.9184, allocations: 4.956 MB / 0.7046 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.9184, allocations: 28 kB / 0.7046 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-05/0.9185, allocations: 56 kB / 0.7047 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.9186, allocations: 84.69 kB / 0.7047 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/0.9222, allocations: 0.9228 MB / 0.7056 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001182/0.9223, allocations: 114.3 kB / 0.7057 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/0.9258, allocations: 0.5624 MB / 0.7063 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/0.9261, allocations: 196 kB / 0.7065 GB, free: 2.312 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.004363/0.9305, allocations: 2.079 MB / 0.7085 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/0.9312, allocations: 278.4 kB / 0.7088 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006188/0.9373, allocations: 3.189 MB / 0.7119 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.9374, allocations: 20 kB / 0.7119 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.9374, allocations: 4 kB / 0.7119 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.9374, allocations: 15.89 kB / 0.7119 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/0.9539, allocations: 8.654 MB / 0.7204 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/0.9539, allocations: 24.25 kB / 0.7204 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/0.9562, allocations: 0.558 MB / 0.721 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.904e-05/0.9562, allocations: 28 kB / 0.721 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.9564, allocations: 79.97 kB / 0.7211 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.604e-05/0.9564, allocations: 38.36 kB / 0.7211 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-05/0.9565, allocations: 25.56 kB / 0.7211 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008254/0.9647, allocations: 5.27 MB / 0.7263 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/0.9668, allocations: 0.7093 MB / 0.727 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004724/0.9673, allocations: 71.98 kB / 0.727 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.9687, allocations: 123.9 kB / 0.7271 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/0.969, allocations: 217.7 kB / 0.7274 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.9692, allocations: 103.9 kB / 0.7274 GB, free: 12.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004478/0.9737, allocations: 2.384 MB / 0.7298 GB, free: 10.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9737, allocations: 0 / 0.7298 GB, free: 10.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004787/0.9785, allocations: 1.106 MB / 0.7309 GB, free: 8.996 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.0005744/0.9791, allocations: 225.9 kB / 0.7311 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006574/0.9856, allocations: 3.48 MB / 0.7345 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/0.9856, allocations: 4 kB / 0.7345 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002732/0.9884, allocations: 1.473 MB / 0.7359 GB, free: 4.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/0.9922, allocations: 0.5401 MB / 0.7364 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/1.012, allocations: 9.358 MB / 0.7456 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004354/1.016, allocations: 3.636 MB / 0.7491 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003742/1.02, allocations: 1.472 MB / 0.7506 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008142/1.021, allocations: 259.4 kB / 0.7508 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of SimCode: time 1.292e-06/1.021, allocations: 0 / 0.7508 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of Templates: time 0.07568/1.097, allocations: 37.06 MB / 0.787 GB, free: 15.79 MB / 0.6075 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: 7.406331982463598]