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.001844/0.001844, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002207/0.002207, allocations: 211 kB / 24.48 MB, free: 3.938 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.526/1.526, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2549/0.2549, allocations: 46.97 MB / 361.6 MB, free: 4.129 MB / 286.1 MB " [Timeout remaining time 179] 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.002063/0.002063, allocations: 67.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3524, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.03074/0.3831, allocations: 16.97 MB / 0.5784 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01671/0.3998, allocations: 4.844 MB / 0.5831 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005581/0.4054, allocations: 191 kB / 0.5833 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02037/0.4258, allocations: 7.248 MB / 0.5904 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008465/0.4343, allocations: 2.083 MB / 0.5924 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004875/0.4391, allocations: 1.389 MB / 0.5938 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0161/0.4552, allocations: 12.24 MB / 0.6057 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0303/0.4855, allocations: 16.73 MB / 0.6221 GB, free: 6.117 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/0.4987, allocations: 6.663 MB / 0.6286 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/0.5119, allocations: 7.225 MB / 0.6356 GB, free: 8.188 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005255/0.5172, allocations: 1.719 MB / 0.6373 GB, free: 6.469 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007435/0.5246, allocations: 1.902 MB / 0.6392 GB, free: 4.566 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00662/0.5312, allocations: 3.666 MB / 0.6428 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01405/0.5453, allocations: 5.486 MB / 0.6481 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03316/0.5784, allocations: 23.79 MB / 0.6713 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.5784, allocations: 0 / 0.6713 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5784, allocations: 0 / 0.6713 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007418/0.5792, allocations: 4 kB / 0.6714 GB, free: 3.512 MB / 0.4981 GB 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.04825/0.6274, allocations: 14.74 MB / 0.6857 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.6275, allocations: 12.03 kB / 0.6858 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06104/0.6885, allocations: 11.18 MB / 0.6967 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/0.708, allocations: 7.499 MB / 0.704 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001209/0.7092, allocations: 0.8832 MB / 0.7049 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00759/0.7168, allocations: 1.176 MB / 0.706 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05363/0.7704, allocations: 19.14 MB / 0.7247 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007047/0.7711, allocations: 19.94 kB / 0.7247 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004716/0.7758, allocations: 492 kB / 0.7252 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008216/0.7766, allocations: 0.6616 MB / 0.7258 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5926/1.369, allocations: 19.05 MB / 0.7444 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09345/1.463, allocations: 51.78 MB / 0.795 GB, free: 95.23 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/1.48, allocations: 10.62 MB / 0.8054 GB, free: 85.12 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006703/1.487, allocations: 4.22 MB / 0.8095 GB, free: 80.88 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007122/1.488, allocations: 180.9 kB / 0.8097 GB, free: 80.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.533e-05/1.488, allocations: 103.7 kB / 0.8098 GB, free: 80.58 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.141e-05/1.488, allocations: 0 / 0.8098 GB, free: 80.58 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01974/1.507, allocations: 11.75 MB / 0.8212 GB, free: 68.74 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/1.508, allocations: 120.5 kB / 0.8214 GB, free: 68.61 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006153/1.514, allocations: 3.828 MB / 0.8251 GB, free: 64.86 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/1.515, allocations: 133.7 kB / 0.8252 GB, free: 64.73 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003246/1.518, allocations: 4.687 MB / 0.8298 GB, free: 60.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002531/1.521, allocations: 2.296 MB / 0.832 GB, free: 58.33 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004437/1.525, allocations: 1.466 MB / 0.8335 GB, free: 56.86 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.864e-05/1.525, allocations: 309 kB / 0.8338 GB, free: 56.55 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006043/1.531, allocations: 4.117 MB / 0.8378 GB, free: 52.43 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007378/1.539, allocations: 6.917 MB / 0.8445 GB, free: 44.25 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/1.552, allocations: 11.98 MB / 0.8562 GB, free: 30.91 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/1.552, allocations: 24 kB / 0.8563 GB, free: 30.89 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01979/1.572, allocations: 11.83 MB / 0.8678 GB, free: 18.95 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.572, allocations: 44 kB / 0.8679 GB, free: 18.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/1.572, allocations: 95.98 kB / 0.868 GB, free: 18.81 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009946/1.573, allocations: 412.8 kB / 0.8684 GB, free: 18.39 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006884/1.58, allocations: 2.02 MB / 0.8703 GB, free: 16.36 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005085/1.585, allocations: 8.816 MB / 0.8789 GB, free: 6.934 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/1.591, allocations: 1.022 MB / 0.8799 GB, free: 5.906 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/1.593, allocations: 387.9 kB / 0.8803 GB, free: 5.527 MB / 0.5607 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.007564/1.6, allocations: 4.586 MB / 0.8848 GB, free: 0.9258 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001441/1.602, allocations: 492.8 kB / 0.8852 GB, free: 452 kB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0203/1.622, allocations: 10.32 MB / 0.8953 GB, free: 6.016 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.339e-05/1.622, allocations: 72 kB / 0.8954 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/1.622, allocations: 0 / 0.8954 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.807e-05/1.622, allocations: 31.88 kB / 0.8954 GB, free: 5.914 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5152/2.137, allocations: 150.1 MB / 1.042 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003353/2.138, allocations: 87.84 kB / 1.042 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005717/2.143, allocations: 1.558 MB / 1.044 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009215/2.144, allocations: 372.7 kB / 1.044 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001223/2.146, allocations: 267.9 kB / 1.044 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/2.151, allocations: 8.685 MB / 1.053 GB, free: 194.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.906e-05/2.151, allocations: 135.4 kB / 1.053 GB, free: 194.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0232/2.174, allocations: 18.36 MB / 1.071 GB, free: 173.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004712/2.179, allocations: 1.551 MB / 1.072 GB, free: 172.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002006/2.181, allocations: 243.9 kB / 1.073 GB, free: 172.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005354/2.186, allocations: 0.5451 MB / 1.073 GB, free: 172 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001627/2.188, allocations: 0.765 MB / 1.074 GB, free: 171.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001124/2.189, allocations: 323.9 kB / 1.074 GB, free: 170.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004278/2.193, allocations: 2.542 MB / 1.077 GB, free: 168.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/2.193, allocations: 0 / 1.077 GB, free: 168.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01052/2.204, allocations: 2.942 MB / 1.079 GB, free: 165.8 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.002196/2.206, allocations: 0.4916 MB / 1.08 GB, free: 165.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01586/2.222, allocations: 10.33 MB / 1.09 GB, free: 154.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001314/2.222, allocations: 16 kB / 1.09 GB, free: 154.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008081/2.23, allocations: 5.287 MB / 1.095 GB, free: 149.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01094/2.241, allocations: 1.265 MB / 1.096 GB, free: 148.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04043/2.281, allocations: 23.86 MB / 1.12 GB, free: 123.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008358/2.29, allocations: 7.165 MB / 1.127 GB, free: 116.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/2.292, allocations: 0.5852 MB / 1.127 GB, free: 115.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.573e-06/2.292, allocations: 0 / 1.127 GB, free: 115.5 MB / 0.67 GB Notification: Performance of Templates: time 1.067/3.359, allocations: 0.5295 GB / 1.657 GB, free: 128.2 MB / 0.7013 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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: 23.485121553298086]