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.0008496/0.0008496, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003339/0.003339, allocations: 157.2 kB / 24.7 MB, free: 9.422 MB / 18.57 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 0.8905/0.8905, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.2466/0.2466, allocations: 34.25 MB / 295.6 MB, free: 0.6914 MB / 266.7 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 2.014e-06/2.014e-06, allocations: 0 / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.887e-05, allocations: 2.281 kB / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.1958/0.1959, allocations: 17 MB / 460.4 MB, free: 33.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00612/0.202, allocations: 4.852 MB / 465.3 MB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009292/0.2029, allocations: 197.2 kB / 465.5 MB, free: 30.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00523/0.2081, allocations: 7.671 MB / 473.1 MB, free: 26.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.2107, allocations: 2.145 MB / 475.3 MB, free: 24.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.2121, allocations: 1.369 MB / 476.6 MB, free: 23.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005432/0.2175, allocations: 12.63 MB / 489.3 MB, free: 17.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01502/0.2325, allocations: 16.77 MB / 0.4942 GB, free: 8.082 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01146/0.244, allocations: 9.741 MB / 0.5037 GB, free: 3.324 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009556/0.2535, allocations: 6.524 MB / 0.5101 GB, free: 440 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006333/0.2599, allocations: 2.077 MB / 0.5121 GB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003285/0.2632, allocations: 1.922 MB / 0.514 GB, free: 13.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002369/0.2655, allocations: 3.732 MB / 0.5176 GB, free: 9.754 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004973/0.2705, allocations: 4.713 MB / 0.5222 GB, free: 5.031 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01682/0.2873, allocations: 23.89 MB / 0.5455 GB, free: 13.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2873, allocations: 8 kB / 0.5456 GB, free: 13.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2873, allocations: 0 / 0.5456 GB, free: 13.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00051/0.2878, allocations: 0 / 0.5456 GB, free: 13.06 MB / 458.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.02511/0.3129, allocations: 14.63 MB / 0.5598 GB, free: 14.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.313, allocations: 8.031 kB / 0.5598 GB, free: 14.33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02871/0.3417, allocations: 11.18 MB / 0.5708 GB, free: 3.129 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.3545, allocations: 7.499 MB / 0.5781 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005752/0.3551, allocations: 0.8871 MB / 0.579 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003493/0.3586, allocations: 1.18 MB / 0.5801 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03192/0.3905, allocations: 19.14 MB / 0.5988 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002198/0.3907, allocations: 11.95 kB / 0.5988 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001447/0.3922, allocations: 499.9 kB / 0.5993 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004211/0.3926, allocations: 0.6539 MB / 0.5999 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02431/0.4169, allocations: 19.04 MB / 0.6185 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4384/0.8553, allocations: 51.8 MB / 0.6691 GB, free: 106.4 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.8675, allocations: 10.64 MB / 0.6795 GB, free: 102.5 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004955/0.8724, allocations: 4.218 MB / 0.6836 GB, free: 101.1 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003326/0.8728, allocations: 179.5 kB / 0.6838 GB, free: 101.1 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.76e-05/0.8728, allocations: 109.5 kB / 0.6839 GB, free: 101 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=653): time 8.426e-06/0.8728, allocations: 0 / 0.6839 GB, free: 101 MB / 0.5262 GB Notification: Performance of matching and sorting (n=653): time 0.01487/0.8877, allocations: 11.75 MB / 0.6954 GB, free: 97.05 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.8878, allocations: 118 kB / 0.6955 GB, free: 96.98 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004231/0.892, allocations: 3.829 MB / 0.6992 GB, free: 95.66 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003189/0.8923, allocations: 127.7 kB / 0.6993 GB, free: 95.55 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.8938, allocations: 4.684 MB / 0.7039 GB, free: 92.81 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009855/0.8948, allocations: 2.26 MB / 0.7061 GB, free: 91.28 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/0.8961, allocations: 1.458 MB / 0.7075 GB, free: 90.62 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.494e-05/0.8961, allocations: 305 kB / 0.7078 GB, free: 90.33 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00335/0.8994, allocations: 4.114 MB / 0.7119 GB, free: 89.01 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004123/0.9036, allocations: 6.922 MB / 0.7186 GB, free: 84.14 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008169/0.9117, allocations: 11.98 MB / 0.7303 GB, free: 76.54 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-05/0.9118, allocations: 26.31 kB / 0.7303 GB, free: 76.54 MB / 0.5262 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01034/0.9221, allocations: 11.84 MB / 0.7419 GB, free: 68.59 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.9222, allocations: 44.09 kB / 0.7419 GB, free: 68.54 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.969e-05/0.9222, allocations: 96 kB / 0.742 GB, free: 68.45 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000559/0.9228, allocations: 412.8 kB / 0.7424 GB, free: 68.03 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.9263, allocations: 2.02 MB / 0.7444 GB, free: 66 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/0.9293, allocations: 8.797 MB / 0.753 GB, free: 56.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.9323, allocations: 1.025 MB / 0.754 GB, free: 55.57 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/0.9326, allocations: 387.9 kB / 0.7544 GB, free: 55.19 MB / 0.5262 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.004537/0.9371, allocations: 4.582 MB / 0.7588 GB, free: 50.59 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/0.9376, allocations: 484.9 kB / 0.7593 GB, free: 50.11 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008861/0.9464, allocations: 10.33 MB / 0.7694 GB, free: 39.68 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.9465, allocations: 68 kB / 0.7694 GB, free: 39.61 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.9465, allocations: 3.938 kB / 0.7695 GB, free: 39.61 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/0.9465, allocations: 35.88 kB / 0.7695 GB, free: 39.57 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3267/1.273, allocations: 150.1 MB / 0.9161 GB, free: 144.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001318/1.273, allocations: 84.31 kB / 0.9162 GB, free: 144.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002866/1.276, allocations: 1.56 MB / 0.9177 GB, free: 144.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005284/1.277, allocations: 381.8 kB / 0.9181 GB, free: 144.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000349/1.277, allocations: 252.4 kB / 0.9183 GB, free: 144.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00322/1.28, allocations: 8.676 MB / 0.9268 GB, free: 136.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.588e-05/1.28, allocations: 148 kB / 0.9269 GB, free: 136.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/1.293, allocations: 18.18 MB / 0.9447 GB, free: 121.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/1.296, allocations: 1.565 MB / 0.9462 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/1.296, allocations: 245.4 kB / 0.9464 GB, free: 120.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.298, allocations: 0.544 MB / 0.947 GB, free: 120.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006018/1.299, allocations: 0.7627 MB / 0.9477 GB, free: 119.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002959/1.299, allocations: 319.9 kB / 0.948 GB, free: 119.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00227/1.301, allocations: 2.538 MB / 0.9505 GB, free: 116.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.91e-07/1.301, allocations: 0 / 0.9505 GB, free: 116.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005778/1.307, allocations: 2.95 MB / 0.9534 GB, free: 113.9 MB / 0.573 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.0006283/1.308, allocations: 0.4955 MB / 0.9538 GB, free: 113.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009523/1.317, allocations: 10.33 MB / 0.9639 GB, free: 103.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-05/1.317, allocations: 12.44 kB / 0.9639 GB, free: 103.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00559/1.323, allocations: 5.281 MB / 0.9691 GB, free: 97.71 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/1.328, allocations: 1.269 MB / 0.9703 GB, free: 96.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.352, allocations: 23.75 MB / 0.9935 GB, free: 71.55 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004672/1.356, allocations: 7.155 MB / 1.001 GB, free: 64.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002074/1.358, allocations: 0.5862 MB / 1.001 GB, free: 63.78 MB / 0.573 GB Notification: Performance of SimCode: time 1.483e-06/1.358, allocations: 0 / 1.001 GB, free: 63.78 MB / 0.573 GB Notification: Performance of Templates: time 0.9551/2.314, allocations: 0.5293 GB / 1.53 GB, free: 157.9 MB / 0.6043 GB " [Timeout remaining time 658] 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: 16.812676399946213]