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.00185/0.00185, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.00229/0.00229, allocations: 210.9 kB / 22.99 MB, free: 5.609 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.649/1.649, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.2578/0.2578, allocations: 46.91 MB / 359.4 MB, free: 4.84 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.002195/0.002195, allocations: 83.86 kB / 0.4946 GB, free: 8.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3714, allocations: 65.98 MB / 0.5591 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02307/0.3944, allocations: 19.86 MB / 0.5785 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.4058, allocations: 5.004 MB / 0.5834 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003866/0.4097, allocations: 163.5 kB / 0.5835 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01854/0.4282, allocations: 7.829 MB / 0.5912 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007776/0.436, allocations: 2.07 MB / 0.5932 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004595/0.4406, allocations: 1.404 MB / 0.5946 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01728/0.4579, allocations: 12.18 MB / 0.6064 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03342/0.4913, allocations: 15.78 MB / 0.6219 GB, free: 4.355 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.5014, allocations: 6.538 MB / 0.6282 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01184/0.5132, allocations: 7.284 MB / 0.6354 GB, free: 6.492 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004887/0.5181, allocations: 1.723 MB / 0.637 GB, free: 4.77 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007545/0.5256, allocations: 1.918 MB / 0.6389 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008141/0.5338, allocations: 3.659 MB / 0.6425 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01804/0.5518, allocations: 7.011 MB / 0.6493 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03188/0.5837, allocations: 23.67 MB / 0.6724 GB, free: 408 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5837, allocations: 4 kB / 0.6725 GB, free: 404 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5837, allocations: 0 / 0.6725 GB, free: 404 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005802/0.5843, allocations: 0 / 0.6725 GB, free: 404 kB / 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.04921/0.6335, allocations: 14.83 MB / 0.6869 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.6336, allocations: 12.03 kB / 0.6869 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06214/0.6957, allocations: 11.17 MB / 0.6979 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02037/0.7161, allocations: 7.371 MB / 0.7051 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00113/0.7172, allocations: 0.8832 MB / 0.7059 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004852/0.722, allocations: 1.176 MB / 0.7071 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05217/0.7742, allocations: 18.61 MB / 0.7252 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000706/0.7749, allocations: 23.89 kB / 0.7253 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005133/0.7801, allocations: 496 kB / 0.7257 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008579/0.7809, allocations: 0.6499 MB / 0.7264 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3243/1.105, allocations: 19.14 MB / 0.7451 GB, free: 136 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0988/1.204, allocations: 60.36 MB / 0.804 GB, free: 87.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/1.221, allocations: 16.11 MB / 0.8197 GB, free: 70.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006258/1.227, allocations: 4.223 MB / 0.8239 GB, free: 66.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/1.228, allocations: 391 kB / 0.8242 GB, free: 65.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/1.228, allocations: 103.7 kB / 0.8243 GB, free: 65.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=653): time 7.865e-06/1.228, allocations: 0 / 0.8243 GB, free: 65.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=653): time 0.01602/1.244, allocations: 12.46 MB / 0.8365 GB, free: 53.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/1.244, allocations: 116.5 kB / 0.8366 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/1.255, allocations: 8.608 MB / 0.845 GB, free: 44.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001129/1.256, allocations: 133.7 kB / 0.8451 GB, free: 44.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002491/1.258, allocations: 4.611 MB / 0.8496 GB, free: 39.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002333/1.261, allocations: 2.304 MB / 0.8519 GB, free: 37.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002195/1.263, allocations: 1.466 MB / 0.8533 GB, free: 35.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.87e-05/1.263, allocations: 309.1 kB / 0.8536 GB, free: 35.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/1.268, allocations: 4.113 MB / 0.8576 GB, free: 31.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005697/1.273, allocations: 6.917 MB / 0.8644 GB, free: 23.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.286, allocations: 11.98 MB / 0.8761 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/1.286, allocations: 24 kB / 0.8761 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02104/1.307, allocations: 12.11 MB / 0.8879 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-05/1.308, allocations: 44 kB / 0.888 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/1.308, allocations: 92 kB / 0.8881 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/1.309, allocations: 412.9 kB / 0.8885 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007744/1.317, allocations: 2.016 MB / 0.8904 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008596/1.325, allocations: 9.591 MB / 0.8998 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007301/1.333, allocations: 1.381 MB / 0.9011 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.334, allocations: 387.9 kB / 0.9015 GB, free: 14.88 MB / 0.5919 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.007661/1.341, allocations: 4.582 MB / 0.906 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/1.343, allocations: 0.7335 MB / 0.9067 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.018/1.361, allocations: 10.6 MB / 0.9171 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.863e-05/1.361, allocations: 75.94 kB / 0.9171 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.361, allocations: 3.938 kB / 0.9171 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/1.361, allocations: 35.88 kB / 0.9172 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4503/1.811, allocations: 161.4 MB / 1.075 GB, free: 173 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000126/1.811, allocations: 88 kB / 1.075 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005036/1.816, allocations: 1.552 MB / 1.076 GB, free: 171.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007829/1.817, allocations: 383.9 kB / 1.077 GB, free: 171 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006086/1.818, allocations: 255.9 kB / 1.077 GB, free: 170.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004752/1.822, allocations: 9.463 MB / 1.086 GB, free: 160.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.893e-05/1.823, allocations: 131.4 kB / 1.086 GB, free: 160.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/1.843, allocations: 18.64 MB / 1.105 GB, free: 140.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005678/1.849, allocations: 2.063 MB / 1.107 GB, free: 138.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002157/1.851, allocations: 247.6 kB / 1.107 GB, free: 138.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006786/1.858, allocations: 0.5463 MB / 1.107 GB, free: 137.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001924/1.86, allocations: 0.7419 MB / 1.108 GB, free: 136.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007632/1.861, allocations: 319.9 kB / 1.108 GB, free: 136.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01046/1.871, allocations: 6.047 MB / 1.114 GB, free: 130.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.7e-07/1.871, allocations: 4 kB / 1.114 GB, free: 130.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01062/1.882, allocations: 2.645 MB / 1.117 GB, free: 127.9 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.001646/1.883, allocations: 0.4888 MB / 1.117 GB, free: 127.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.896, allocations: 10.32 MB / 1.127 GB, free: 116.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.156e-05/1.896, allocations: 12 kB / 1.127 GB, free: 116.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00681/1.903, allocations: 5.293 MB / 1.133 GB, free: 111.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009442/1.913, allocations: 1.497 MB / 1.134 GB, free: 110.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04184/1.955, allocations: 25 MB / 1.159 GB, free: 83.86 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007964/1.962, allocations: 7.769 MB / 1.166 GB, free: 76.05 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008316/1.971, allocations: 3.562 MB / 1.17 GB, free: 72.47 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002374/1.973, allocations: 0.636 MB / 1.17 GB, free: 71.84 MB / 0.67 GB Notification: Performance of SimCode: time 2.404e-06/1.973, allocations: 0 / 1.17 GB, free: 71.84 MB / 0.67 GB Notification: Performance of Templates: time 0.4977/2.471, allocations: 97.43 MB / 1.265 GB, free: 221.8 MB / 0.6856 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.0.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: 11.216595094650984]