Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 206.7 kB / 23.72 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2477/0.2477, allocations: 46.95 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 83.86 kB / 0.4966 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3998, allocations: 66.08 MB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02158/0.4214, allocations: 16.98 MB / 0.5778 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.436, allocations: 4.849 MB / 0.5825 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00546/0.4415, allocations: 195 kB / 0.5827 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01923/0.4607, allocations: 7.245 MB / 0.5898 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009764/0.4705, allocations: 2.081 MB / 0.5918 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005691/0.4762, allocations: 1.385 MB / 0.5931 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01943/0.4956, allocations: 12.23 MB / 0.6051 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03926/0.5349, allocations: 16.73 MB / 0.6214 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01266/0.5475, allocations: 6.667 MB / 0.6279 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01434/0.5619, allocations: 7.225 MB / 0.635 GB, free: 7.949 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006495/0.5683, allocations: 1.719 MB / 0.6367 GB, free: 6.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009446/0.5778, allocations: 1.902 MB / 0.6385 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008888/0.5867, allocations: 3.666 MB / 0.6421 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01672/0.6034, allocations: 5.486 MB / 0.6475 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04089/0.6443, allocations: 23.79 MB / 0.6707 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6443, allocations: 4 kB / 0.6707 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6443, allocations: 0 / 0.6707 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008759/0.6452, allocations: 4 kB / 0.6707 GB, free: 3.273 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.05578/0.701, allocations: 14.74 MB / 0.6851 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.701, allocations: 8.031 kB / 0.6851 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06026/0.7613, allocations: 11.17 MB / 0.696 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02032/0.7816, allocations: 7.499 MB / 0.7033 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/0.7827, allocations: 0.8871 MB / 0.7042 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005755/0.7885, allocations: 1.172 MB / 0.7053 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0595/0.848, allocations: 19.15 MB / 0.724 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006/0.8486, allocations: 27.89 kB / 0.7241 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00563/0.8542, allocations: 495.9 kB / 0.7245 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008716/0.8551, allocations: 0.6539 MB / 0.7252 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6531/1.508, allocations: 19.05 MB / 0.7438 GB, free: 135.3 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1064/1.615, allocations: 51.77 MB / 0.7943 GB, free: 94.77 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/1.635, allocations: 10.64 MB / 0.8047 GB, free: 84.65 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008323/1.643, allocations: 4.22 MB / 0.8089 GB, free: 80.41 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008925/1.644, allocations: 176.9 kB / 0.809 GB, free: 80.23 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/1.644, allocations: 111.6 kB / 0.8091 GB, free: 80.11 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.541e-05/1.644, allocations: 0 / 0.8091 GB, free: 80.11 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02332/1.667, allocations: 11.74 MB / 0.8206 GB, free: 68.27 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/1.668, allocations: 120.5 kB / 0.8207 GB, free: 68.14 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007345/1.675, allocations: 3.832 MB / 0.8245 GB, free: 64.39 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001512/1.676, allocations: 129.7 kB / 0.8246 GB, free: 64.26 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003377/1.68, allocations: 4.696 MB / 0.8292 GB, free: 60.12 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003268/1.683, allocations: 2.296 MB / 0.8314 GB, free: 57.84 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00566/1.689, allocations: 1.47 MB / 0.8328 GB, free: 56.37 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.284e-05/1.689, allocations: 305.1 kB / 0.8331 GB, free: 56.07 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007112/1.696, allocations: 4.117 MB / 0.8372 GB, free: 51.95 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/1.707, allocations: 6.913 MB / 0.8439 GB, free: 43.76 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01761/1.725, allocations: 11.98 MB / 0.8556 GB, free: 30.43 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/1.725, allocations: 24 kB / 0.8556 GB, free: 30.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02306/1.748, allocations: 11.84 MB / 0.8672 GB, free: 18.45 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/1.748, allocations: 47.98 kB / 0.8672 GB, free: 18.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/1.748, allocations: 92 kB / 0.8673 GB, free: 18.32 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/1.75, allocations: 412.8 kB / 0.8677 GB, free: 17.89 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007883/1.757, allocations: 2.008 MB / 0.8697 GB, free: 15.88 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006029/1.763, allocations: 8.816 MB / 0.8783 GB, free: 6.453 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007114/1.771, allocations: 1.014 MB / 0.8793 GB, free: 5.434 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/1.773, allocations: 387.9 kB / 0.8797 GB, free: 5.055 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.01031/1.783, allocations: 4.586 MB / 0.8841 GB, free: 464 kB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002144/1.785, allocations: 485 kB / 0.8846 GB, free: 15.97 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0255/1.811, allocations: 10.33 MB / 0.8947 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-05/1.811, allocations: 67.94 kB / 0.8947 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-05/1.811, allocations: 4 kB / 0.8948 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001165/1.811, allocations: 31.88 kB / 0.8948 GB, free: 5.438 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5438/2.355, allocations: 150.1 MB / 1.041 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004065/2.355, allocations: 84 kB / 1.041 GB, free: 204.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00631/2.361, allocations: 1.556 MB / 1.043 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009524/2.362, allocations: 388.8 kB / 1.043 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001354/2.364, allocations: 259.7 kB / 1.044 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005366/2.369, allocations: 8.69 MB / 1.052 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.777e-05/2.369, allocations: 135.4 kB / 1.052 GB, free: 193.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02315/2.392, allocations: 18.35 MB / 1.07 GB, free: 173.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006278/2.398, allocations: 1.559 MB / 1.072 GB, free: 172.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002025/2.401, allocations: 245.9 kB / 1.072 GB, free: 171.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005399/2.406, allocations: 0.5463 MB / 1.072 GB, free: 171.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00169/2.408, allocations: 0.7612 MB / 1.073 GB, free: 170.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00107/2.409, allocations: 319.7 kB / 1.073 GB, free: 170.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003886/2.413, allocations: 2.546 MB / 1.076 GB, free: 167.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/2.413, allocations: 0 / 1.076 GB, free: 167.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01014/2.423, allocations: 2.954 MB / 1.079 GB, free: 165.2 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.001933/2.425, allocations: 496 kB / 1.079 GB, free: 164.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01657/2.441, allocations: 10.32 MB / 1.089 GB, free: 154.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001168/2.441, allocations: 19.94 kB / 1.089 GB, free: 154.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007956/2.449, allocations: 5.278 MB / 1.095 GB, free: 149 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009873/2.459, allocations: 1.271 MB / 1.096 GB, free: 147.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03932/2.498, allocations: 24.23 MB / 1.119 GB, free: 122.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01149/2.51, allocations: 7.401 MB / 1.127 GB, free: 114.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009028/2.519, allocations: 3.199 MB / 1.13 GB, free: 111.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002763/2.522, allocations: 0.5227 MB / 1.13 GB, free: 111.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.353e-06/2.522, allocations: 4 kB / 1.13 GB, free: 111.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1138/2.636, allocations: 88.12 MB / 1.216 GB, free: 23.71 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.557768132537603]