Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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.001758/0.001758, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001766/0.001766, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.633/1.633, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2581/0.2581, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 0.4914 GB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1645, allocations: 65.99 MB / 0.5558 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02592/0.1905, allocations: 19.85 MB / 0.5752 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.204, allocations: 4.982 MB / 0.5801 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004672/0.2087, allocations: 191 kB / 0.5803 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01931/0.228, allocations: 7.828 MB / 0.5879 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008476/0.2365, allocations: 2.079 MB / 0.5899 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004887/0.2414, allocations: 1.403 MB / 0.5913 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3036/0.545, allocations: 12.17 MB / 0.6032 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03346/0.5785, allocations: 20.6 MB / 0.6233 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01195/0.5904, allocations: 6.634 MB / 0.6298 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01386/0.6043, allocations: 7.282 MB / 0.6369 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005123/0.6094, allocations: 1.723 MB / 0.6386 GB, free: 5.004 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006486/0.6159, allocations: 1.919 MB / 0.6405 GB, free: 3.141 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005379/0.6213, allocations: 3.664 MB / 0.644 GB, free: 52 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01274/0.634, allocations: 7.048 MB / 0.6509 GB, free: 9.594 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.033/0.667, allocations: 23.68 MB / 0.6741 GB, free: 3.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.667, allocations: 0 / 0.6741 GB, free: 3.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.667, allocations: 0 / 0.6741 GB, free: 3.441 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000898/0.6679, allocations: 0 / 0.6741 GB, free: 3.441 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.04633/0.7142, allocations: 14.82 MB / 0.6885 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7143, allocations: 12.03 kB / 0.6885 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06416/0.7784, allocations: 11.17 MB / 0.6994 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02107/0.7995, allocations: 7.365 MB / 0.7066 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001428/0.8009, allocations: 0.8852 MB / 0.7075 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006422/0.8074, allocations: 1.167 MB / 0.7086 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05772/0.8651, allocations: 18.62 MB / 0.7268 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005039/0.8656, allocations: 19.91 kB / 0.7268 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004017/0.8696, allocations: 0.4895 MB / 0.7273 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007867/0.8704, allocations: 0.6576 MB / 0.728 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04294/0.9133, allocations: 19.14 MB / 0.7467 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1191/1.032, allocations: 60.35 MB / 0.8056 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02319/1.056, allocations: 16.12 MB / 0.8213 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007389/1.063, allocations: 4.223 MB / 0.8255 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/1.064, allocations: 389.3 kB / 0.8258 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/1.064, allocations: 107.6 kB / 0.8259 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 7.414e-06/1.064, allocations: 0 / 0.8259 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.6073/1.671, allocations: 12.45 MB / 0.8381 GB, free: 190.6 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.82e-05/1.671, allocations: 118.8 kB / 0.8382 GB, free: 190.6 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01748/1.689, allocations: 8.611 MB / 0.8466 GB, free: 189.4 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001687/1.69, allocations: 133.4 kB / 0.8467 GB, free: 189.3 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.005238/1.695, allocations: 4.608 MB / 0.8512 GB, free: 186.6 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.005152/1.701, allocations: 2.304 MB / 0.8535 GB, free: 185 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003684/1.704, allocations: 1.467 MB / 0.8549 GB, free: 184.4 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/1.704, allocations: 306.5 kB / 0.8552 GB, free: 184.1 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008683/1.713, allocations: 4.116 MB / 0.8592 GB, free: 182.8 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009309/1.722, allocations: 6.92 MB / 0.866 GB, free: 177.9 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/1.738, allocations: 11.98 MB / 0.8777 GB, free: 170.7 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001498/1.738, allocations: 27.06 kB / 0.8777 GB, free: 170.7 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01926/1.757, allocations: 12.09 MB / 0.8895 GB, free: 166.2 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/1.757, allocations: 45.03 kB / 0.8896 GB, free: 166.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/1.758, allocations: 93.5 kB / 0.8897 GB, free: 166.2 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009158/1.758, allocations: 413.4 kB / 0.8901 GB, free: 166 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00771/1.766, allocations: 2.023 MB / 0.892 GB, free: 165.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/1.772, allocations: 9.582 MB / 0.9014 GB, free: 157 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008558/1.781, allocations: 1.382 MB / 0.9027 GB, free: 156.5 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002291/1.783, allocations: 393.8 kB / 0.9031 GB, free: 156.4 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008501/1.791, allocations: 4.577 MB / 0.9076 GB, free: 154.4 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001588/1.793, allocations: 0.7389 MB / 0.9083 GB, free: 154 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/1.808, allocations: 10.61 MB / 0.9187 GB, free: 146.4 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/1.808, allocations: 64 kB / 0.9187 GB, free: 146.4 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/1.808, allocations: 4 kB / 0.9187 GB, free: 146.4 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.185e-05/1.808, allocations: 35.86 kB / 0.9188 GB, free: 146.3 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1469/1.955, allocations: 161.4 MB / 1.076 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000208/1.955, allocations: 88 kB / 1.077 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006692/1.962, allocations: 1.557 MB / 1.078 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009977/1.963, allocations: 385.1 kB / 1.078 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008805/1.964, allocations: 259.9 kB / 1.079 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009071/1.973, allocations: 9.455 MB / 1.088 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001185/1.973, allocations: 139.4 kB / 1.088 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.367/2.34, allocations: 18.64 MB / 1.106 GB, free: 199.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005833/2.346, allocations: 2.07 MB / 1.108 GB, free: 198.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002402/2.348, allocations: 244.9 kB / 1.108 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00679/2.355, allocations: 0.5457 MB / 1.109 GB, free: 198.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002079/2.357, allocations: 0.7433 MB / 1.11 GB, free: 198.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001002/2.358, allocations: 327.4 kB / 1.11 GB, free: 198.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01482/2.373, allocations: 6.052 MB / 1.116 GB, free: 196.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.61e-07/2.373, allocations: 0 / 1.116 GB, free: 196.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01345/2.386, allocations: 2.642 MB / 1.119 GB, free: 195.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003116/2.389, allocations: 0.4897 MB / 1.119 GB, free: 195.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01722/2.407, allocations: 10.32 MB / 1.129 GB, free: 191.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.751e-05/2.407, allocations: 21.78 kB / 1.129 GB, free: 191.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008231/2.415, allocations: 5.288 MB / 1.134 GB, free: 189.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0121/2.427, allocations: 1.484 MB / 1.136 GB, free: 188.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03984/2.467, allocations: 24.85 MB / 1.16 GB, free: 175.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009507/2.476, allocations: 7.78 MB / 1.168 GB, free: 169.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007846/2.484, allocations: 3.564 MB / 1.171 GB, free: 167.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002289/2.486, allocations: 0.6303 MB / 1.172 GB, free: 166.8 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/2.486, allocations: 0 / 1.172 GB, free: 166.8 MB / 0.67 GB Notification: Performance of Templates: time 0.1482/2.635, allocations: 99.46 MB / 1.269 GB, free: 70.4 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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: 11.548746835440397]