Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001749/0.001749, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002109/0.002109, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 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.54/1.54, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.393/0.393, allocations: 32.79 MB / 293.9 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.359e-05, allocations: 9.344 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02402/0.02406, allocations: 16.99 MB / 392.3 MB, free: 3.918 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.03612, allocations: 4.908 MB / 397.2 MB, free: 15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0036/0.03972, allocations: 194.9 kB / 397.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02047/0.06019, allocations: 7.668 MB / 405 MB, free: 7.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008967/0.06916, allocations: 2.152 MB / 407.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0051/0.07426, allocations: 1.372 MB / 408.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01901/0.09327, allocations: 12.62 MB / 421.2 MB, free: 6.883 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03524/0.1285, allocations: 16.77 MB / 437.9 MB, free: 5.914 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1945/0.323, allocations: 9.736 MB / 447.7 MB, free: 59.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01296/0.336, allocations: 6.522 MB / 454.2 MB, free: 59.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006415/0.3424, allocations: 1.719 MB / 455.9 MB, free: 59.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.3529, allocations: 1.92 MB / 457.8 MB, free: 59.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007691/0.3606, allocations: 3.73 MB / 461.6 MB, free: 59.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01344/0.374, allocations: 4.715 MB / 466.3 MB, free: 59.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03419/0.4082, allocations: 23.91 MB / 490.2 MB, free: 52.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4082, allocations: 4 kB / 490.2 MB, free: 52.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4082, allocations: 0 / 490.2 MB, free: 52.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009725/0.4092, allocations: 1.281 kB / 490.2 MB, free: 52.61 MB / 410.7 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.05591/0.4651, allocations: 14.64 MB / 0.493 GB, free: 43.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.4652, allocations: 10 kB / 0.493 GB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06419/0.5294, allocations: 13.34 MB / 0.506 GB, free: 38.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/0.5462, allocations: 7.791 MB / 0.5136 GB, free: 32.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008357/0.5471, allocations: 0.8881 MB / 0.5145 GB, free: 31.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005009/0.5521, allocations: 1.181 MB / 0.5157 GB, free: 30.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04945/0.6015, allocations: 19.14 MB / 0.5344 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007058/0.6022, allocations: 23.89 kB / 0.5344 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005508/0.6077, allocations: 493.5 kB / 0.5349 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006796/0.6084, allocations: 0.6539 MB / 0.5355 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04549/0.6539, allocations: 19.05 MB / 0.5541 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1341/0.788, allocations: 53.26 MB / 0.6061 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2173/1.005, allocations: 10.65 MB / 0.6165 GB, free: 136.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006139/1.011, allocations: 4.22 MB / 0.6206 GB, free: 135.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/1.012, allocations: 223.2 kB / 0.6208 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/1.012, allocations: 102.7 kB / 0.6209 GB, free: 135.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=653): time 1.192e-05/1.012, allocations: 9.109 kB / 0.6209 GB, free: 135.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=653): time 0.0179/1.03, allocations: 11.94 MB / 0.6326 GB, free: 131.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/1.03, allocations: 124.6 kB / 0.6327 GB, free: 131.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006254/1.036, allocations: 3.829 MB / 0.6365 GB, free: 130.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.037, allocations: 130.9 kB / 0.6366 GB, free: 130.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002372/1.04, allocations: 4.682 MB / 0.6412 GB, free: 126.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002076/1.042, allocations: 2.269 MB / 0.6434 GB, free: 125.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002382/1.044, allocations: 1.457 MB / 0.6448 GB, free: 124.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/1.044, allocations: 303.8 kB / 0.6451 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006365/1.05, allocations: 4.117 MB / 0.6491 GB, free: 122.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008756/1.059, allocations: 6.919 MB / 0.6559 GB, free: 118 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/1.075, allocations: 11.98 MB / 0.6676 GB, free: 110.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/1.075, allocations: 26.09 kB / 0.6676 GB, free: 110.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02416/1.099, allocations: 12.19 MB / 0.6795 GB, free: 101.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/1.099, allocations: 47.94 kB / 0.6795 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002482/1.1, allocations: 99.77 kB / 0.6796 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/1.101, allocations: 0.52 MB / 0.6801 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00772/1.109, allocations: 2.016 MB / 0.6821 GB, free: 99.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005777/1.115, allocations: 8.827 MB / 0.6907 GB, free: 89.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006463/1.121, allocations: 1.026 MB / 0.6917 GB, free: 88.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/1.123, allocations: 379.9 kB / 0.6921 GB, free: 88.3 MB / 474.7 MB 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.008152/1.131, allocations: 4.583 MB / 0.6966 GB, free: 83.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002321/1.133, allocations: 0.6689 MB / 0.6972 GB, free: 83.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01664/1.15, allocations: 10.33 MB / 0.7073 GB, free: 72.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.371e-05/1.15, allocations: 68 kB / 0.7074 GB, free: 72.53 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.084e-05/1.15, allocations: 8 kB / 0.7074 GB, free: 72.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-05/1.15, allocations: 35.86 kB / 0.7074 GB, free: 72.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4022/1.552, allocations: 150.1 MB / 0.854 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003141/1.553, allocations: 91.94 kB / 0.8541 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005999/1.559, allocations: 1.555 MB / 0.8556 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/1.56, allocations: 0.4955 MB / 0.8561 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001248/1.562, allocations: 259.9 kB / 0.8564 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005167/1.567, allocations: 8.696 MB / 0.8649 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.178e-05/1.567, allocations: 135.4 kB / 0.865 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02326/1.59, allocations: 18.41 MB / 0.883 GB, free: 88.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004174/1.594, allocations: 1.551 MB / 0.8845 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/1.596, allocations: 248.1 kB / 0.8847 GB, free: 86.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005163/1.601, allocations: 0.5424 MB / 0.8853 GB, free: 86.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/1.602, allocations: 0.7689 MB / 0.886 GB, free: 85.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008173/1.603, allocations: 315.9 kB / 0.8863 GB, free: 85.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003947/1.607, allocations: 2.542 MB / 0.8888 GB, free: 82.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/1.607, allocations: 0 / 0.8888 GB, free: 82.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009879/1.617, allocations: 2.957 MB / 0.8917 GB, free: 80.11 MB / 490.7 MB 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.001522/1.619, allocations: 499.3 kB / 0.8922 GB, free: 79.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01528/1.634, allocations: 10.32 MB / 0.9022 GB, free: 69.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001119/1.634, allocations: 12.38 kB / 0.9022 GB, free: 69.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007356/1.641, allocations: 5.293 MB / 0.9074 GB, free: 63.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009541/1.651, allocations: 1.312 MB / 0.9087 GB, free: 62.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04058/1.691, allocations: 24.39 MB / 0.9325 GB, free: 36.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/1.702, allocations: 7.413 MB / 0.9397 GB, free: 29.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008314/1.71, allocations: 3.195 MB / 0.9429 GB, free: 26.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002321/1.713, allocations: 0.5238 MB / 0.9434 GB, free: 25.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.402e-06/1.713, allocations: 0 / 0.9434 GB, free: 25.73 MB / 490.7 MB Notification: Performance of Templates: time 0.3148/2.027, allocations: 76.82 MB / 1.018 GB, free: 130.3 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.041427719057538]