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.001449/0.001449, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001648/0.001648, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.513/1.513, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.2413/0.2413, allocations: 46.95 MB / 361.6 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] 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.002502/0.002502, allocations: 75.88 kB / 0.4974 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3308, allocations: 66.1 MB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0219/0.3527, allocations: 16.97 MB / 0.5785 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.3645, allocations: 4.852 MB / 0.5832 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004725/0.3692, allocations: 191 kB / 0.5834 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01855/0.3877, allocations: 7.249 MB / 0.5905 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008658/0.3964, allocations: 2.085 MB / 0.5925 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004978/0.4014, allocations: 1.375 MB / 0.5939 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01648/0.4178, allocations: 12.25 MB / 0.6058 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03038/0.4482, allocations: 16.73 MB / 0.6222 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.461, allocations: 6.663 MB / 0.6287 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01349/0.4745, allocations: 7.221 MB / 0.6357 GB, free: 7.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005504/0.48, allocations: 1.723 MB / 0.6374 GB, free: 6.258 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007472/0.4874, allocations: 1.906 MB / 0.6393 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006657/0.4941, allocations: 3.662 MB / 0.6428 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01256/0.5067, allocations: 5.49 MB / 0.6482 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03216/0.5388, allocations: 23.79 MB / 0.6714 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.5388, allocations: 3.984 kB / 0.6714 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5388, allocations: 0 / 0.6714 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008361/0.5397, allocations: 0 / 0.6714 GB, free: 3.301 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.04783/0.5875, allocations: 14.75 MB / 0.6858 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.5876, allocations: 12.03 kB / 0.6859 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06248/0.65, allocations: 11.17 MB / 0.6968 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01959/0.6696, allocations: 7.506 MB / 0.7041 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001266/0.6709, allocations: 0.8832 MB / 0.705 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005837/0.6767, allocations: 1.172 MB / 0.7061 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05357/0.7303, allocations: 19.14 MB / 0.7248 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006837/0.731, allocations: 15.91 kB / 0.7248 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00466/0.7356, allocations: 499.9 kB / 0.7253 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008717/0.7365, allocations: 0.6539 MB / 0.7259 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5839/1.32, allocations: 19.05 MB / 0.7445 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09362/1.414, allocations: 51.76 MB / 0.7951 GB, free: 94.82 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/1.43, allocations: 10.63 MB / 0.8055 GB, free: 84.71 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006079/1.437, allocations: 4.22 MB / 0.8096 GB, free: 80.46 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005682/1.437, allocations: 188.9 kB / 0.8098 GB, free: 80.28 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.918e-05/1.437, allocations: 107.6 kB / 0.8099 GB, free: 80.16 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.091e-05/1.437, allocations: 0 / 0.8099 GB, free: 80.16 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01702/1.454, allocations: 11.74 MB / 0.8213 GB, free: 68.32 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/1.454, allocations: 120.5 kB / 0.8215 GB, free: 68.19 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005/1.459, allocations: 3.824 MB / 0.8252 GB, free: 64.45 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.46, allocations: 137.7 kB / 0.8253 GB, free: 64.31 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002157/1.463, allocations: 4.697 MB / 0.8299 GB, free: 60.17 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002195/1.465, allocations: 2.296 MB / 0.8322 GB, free: 57.91 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/1.467, allocations: 1.466 MB / 0.8336 GB, free: 56.43 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.568e-05/1.467, allocations: 301.1 kB / 0.8339 GB, free: 56.14 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005475/1.473, allocations: 4.117 MB / 0.8379 GB, free: 52.01 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007505/1.48, allocations: 6.913 MB / 0.8446 GB, free: 43.83 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01415/1.494, allocations: 11.99 MB / 0.8563 GB, free: 30.49 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/1.494, allocations: 24 kB / 0.8564 GB, free: 30.46 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02116/1.515, allocations: 11.84 MB / 0.8679 GB, free: 18.52 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/1.516, allocations: 44 kB / 0.868 GB, free: 18.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/1.516, allocations: 92 kB / 0.8681 GB, free: 18.38 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/1.517, allocations: 413.5 kB / 0.8685 GB, free: 17.96 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007634/1.525, allocations: 2.02 MB / 0.8704 GB, free: 15.94 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/1.53, allocations: 8.808 MB / 0.879 GB, free: 6.516 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006374/1.536, allocations: 1.026 MB / 0.88 GB, free: 5.484 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/1.538, allocations: 387.9 kB / 0.8804 GB, free: 5.105 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.008987/1.547, allocations: 4.578 MB / 0.8849 GB, free: 0.5117 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0018/1.549, allocations: 484.9 kB / 0.8853 GB, free: 36 kB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02277/1.572, allocations: 10.32 MB / 0.8954 GB, free: 5.605 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.721e-05/1.572, allocations: 68 kB / 0.8955 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.743e-05/1.572, allocations: 0 / 0.8955 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001443/1.572, allocations: 39.86 kB / 0.8955 GB, free: 5.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5311/2.103, allocations: 150.1 MB / 1.042 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000539/2.104, allocations: 87.62 kB / 1.042 GB, free: 204.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006256/2.11, allocations: 1.562 MB / 1.044 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/2.111, allocations: 375.4 kB / 1.044 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001419/2.112, allocations: 263.7 kB / 1.044 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005231/2.118, allocations: 8.677 MB / 1.053 GB, free: 193.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.942e-05/2.118, allocations: 139.3 kB / 1.053 GB, free: 193.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02451/2.142, allocations: 18.36 MB / 1.071 GB, free: 173.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005041/2.147, allocations: 1.552 MB / 1.072 GB, free: 172.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002138/2.149, allocations: 252 kB / 1.073 GB, free: 172 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005786/2.155, allocations: 0.5506 MB / 1.073 GB, free: 171.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001895/2.157, allocations: 0.7611 MB / 1.074 GB, free: 170.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001364/2.158, allocations: 323.9 kB / 1.074 GB, free: 170.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004717/2.163, allocations: 2.543 MB / 1.077 GB, free: 167.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/2.163, allocations: 0 / 1.077 GB, free: 167.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01163/2.175, allocations: 2.95 MB / 1.08 GB, free: 165.3 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.002499/2.177, allocations: 491 kB / 1.08 GB, free: 164.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01718/2.194, allocations: 10.33 MB / 1.09 GB, free: 154.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 0.0001333/2.195, allocations: 16 kB / 1.09 GB, free: 154.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008234/2.203, allocations: 5.278 MB / 1.095 GB, free: 149.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/2.214, allocations: 1.269 MB / 1.097 GB, free: 147.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04157/2.256, allocations: 23.86 MB / 1.12 GB, free: 122.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009033/2.265, allocations: 7.161 MB / 1.127 GB, free: 115.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002776/2.268, allocations: 0.5891 MB / 1.127 GB, free: 114.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.423e-06/2.268, allocations: 0 / 1.127 GB, free: 114.9 MB / 0.67 GB Notification: Performance of Templates: time 1.066/3.334, allocations: 0.5295 GB / 1.657 GB, free: 127.5 MB / 0.7013 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/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_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: 23.15059041697532]