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.001237/0.001237, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001363/0.001363, allocations: 160.5 kB / 24.56 MB, free: 8 kB / 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.9885/0.9885, allocations: 177 MB / 204.8 MB, free: 5.57 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.2724/0.2724, allocations: 34.87 MB / 296.3 MB, free: 0.5625 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.[0-9,]+..re|v.[0-9,]+..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.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.724e-05, allocations: 4.844 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01446/0.01449, allocations: 19.09 MB / 397.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00993/0.02442, allocations: 4.959 MB / 402.8 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004023/0.02844, allocations: 195 kB / 403 MB, free: 9.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.03899, allocations: 8.327 MB / 411.3 MB, free: 1.387 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008339/0.04733, allocations: 2.136 MB / 413.5 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004794/0.05212, allocations: 1.393 MB / 414.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01257/0.06469, allocations: 12.64 MB / 427.5 MB, free: 1.156 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02487/0.08956, allocations: 16.8 MB / 444.3 MB, free: 160 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1926/0.2822, allocations: 9.818 MB / 454.1 MB, free: 55.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.2937, allocations: 7.218 MB / 461.3 MB, free: 55.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005358/0.2991, allocations: 1.72 MB / 463.1 MB, free: 55.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006983/0.3061, allocations: 1.921 MB / 465 MB, free: 55.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005582/0.3117, allocations: 3.794 MB / 468.8 MB, free: 54.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009687/0.3213, allocations: 4.769 MB / 473.5 MB, free: 52.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01916/0.3405, allocations: 12 MB / 485.5 MB, free: 48.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3405, allocations: 5.031 kB / 485.5 MB, free: 48.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3405, allocations: 3.562 kB / 485.5 MB, free: 48.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008357/0.3413, allocations: 0 / 485.5 MB, free: 48.12 MB / 410.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.03439/0.3757, allocations: 15.83 MB / 0.4896 GB, free: 40.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3758, allocations: 8.594 kB / 0.4896 GB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0334/0.4092, allocations: 13.37 MB / 0.5027 GB, free: 38.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.4229, allocations: 6.825 MB / 0.5093 GB, free: 33.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008026/0.4237, allocations: 0.8919 MB / 0.5102 GB, free: 32.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004639/0.4283, allocations: 1.181 MB / 0.5114 GB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/0.4587, allocations: 8.426 MB / 0.5196 GB, free: 23.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005453/0.4593, allocations: 15.91 kB / 0.5196 GB, free: 23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004099/0.4634, allocations: 496.9 kB / 0.5201 GB, free: 22.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004163/0.4638, allocations: 0.6617 MB / 0.5207 GB, free: 21.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/0.4857, allocations: 6.204 MB / 0.5268 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08778/0.5735, allocations: 46.62 MB / 0.5723 GB, free: 1.125 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/0.5867, allocations: 7.355 MB / 0.5795 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003173/0.5898, allocations: 1.588 MB / 0.5811 GB, free: 8.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.5902, allocations: 227 kB / 0.5813 GB, free: 8.457 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.903e-05/0.5903, allocations: 110.5 kB / 0.5814 GB, free: 8.336 MB / 458.7 MB Notification: Performance of pre-optimization done (n=653): time 9.267e-06/0.5903, allocations: 0 / 0.5814 GB, free: 8.336 MB / 458.7 MB Notification: Performance of matching and sorting (n=653): time 0.009332/0.5996, allocations: 4.788 MB / 0.5861 GB, free: 3.469 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.5997, allocations: 116.5 kB / 0.5862 GB, free: 3.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0053/0.605, allocations: 3.555 MB / 0.5896 GB, free: 15.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001141/0.6061, allocations: 133.7 kB / 0.5898 GB, free: 15.63 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002842/0.609, allocations: 4.987 MB / 0.5946 GB, free: 10.63 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002666/0.6116, allocations: 2.377 MB / 0.597 GB, free: 8.281 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002085/0.6137, allocations: 1.659 MB / 0.5986 GB, free: 6.613 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6138, allocations: 480.7 kB / 0.599 GB, free: 6.141 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.6162, allocations: 1.049 MB / 0.6001 GB, free: 5.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2026/0.8188, allocations: 5.272 MB / 0.6052 GB, free: 98.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008205/0.827, allocations: 7.109 MB / 0.6121 GB, free: 93.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.8271, allocations: 26.06 kB / 0.6122 GB, free: 93.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01/0.8371, allocations: 6.038 MB / 0.6181 GB, free: 93.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.8371, allocations: 50.16 kB / 0.6181 GB, free: 93.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.8372, allocations: 90.44 kB / 0.6182 GB, free: 93.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008433/0.8381, allocations: 425.9 kB / 0.6186 GB, free: 92.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/0.8418, allocations: 2.014 MB / 0.6206 GB, free: 92.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003615/0.8454, allocations: 10.89 MB / 0.6312 GB, free: 82.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.8497, allocations: 1.014 MB / 0.6322 GB, free: 82.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005716/0.8503, allocations: 385.4 kB / 0.6326 GB, free: 82.64 MB / 474.7 MB 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.004255/0.8545, allocations: 0.6837 MB / 0.6332 GB, free: 82.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/0.8557, allocations: 0.6716 MB / 0.6339 GB, free: 82.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008005/0.8637, allocations: 5.871 MB / 0.6396 GB, free: 81.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.388e-05/0.8638, allocations: 78.34 kB / 0.6397 GB, free: 81.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.8638, allocations: 0 / 0.6397 GB, free: 81.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-05/0.8638, allocations: 32.86 kB / 0.6397 GB, free: 81.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05011/0.9139, allocations: 24.33 MB / 0.6635 GB, free: 76.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001427/0.9141, allocations: 86.62 kB / 0.6636 GB, free: 76.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003327/0.9174, allocations: 1.558 MB / 0.6651 GB, free: 76.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008466/0.9182, allocations: 395.3 kB / 0.6655 GB, free: 75.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000443/0.9187, allocations: 254.7 kB / 0.6657 GB, free: 75.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/0.9223, allocations: 10.8 MB / 0.6763 GB, free: 65.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-05/0.9224, allocations: 136.5 kB / 0.6764 GB, free: 65.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/0.9335, allocations: 10.62 MB / 0.6868 GB, free: 57.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002665/0.9361, allocations: 1.373 MB / 0.6881 GB, free: 57.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005267/0.9366, allocations: 242.3 kB / 0.6883 GB, free: 57.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/0.939, allocations: 0.542 MB / 0.6889 GB, free: 57.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008601/0.9399, allocations: 0.772 MB / 0.6896 GB, free: 57.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004721/0.9404, allocations: 319.6 kB / 0.6899 GB, free: 57.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002431/0.9428, allocations: 1.59 MB / 0.6915 GB, free: 56.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9428, allocations: 0 / 0.6915 GB, free: 56.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009113/0.9519, allocations: 2.943 MB / 0.6943 GB, free: 53.57 MB / 474.7 MB 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.001247/0.9532, allocations: 0.4931 MB / 0.6948 GB, free: 53.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008234/0.9614, allocations: 5.621 MB / 0.7003 GB, free: 48.76 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.58e-05/0.9614, allocations: 23.25 kB / 0.7003 GB, free: 48.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003333/0.9648, allocations: 3.278 MB / 0.7035 GB, free: 46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/0.9698, allocations: 1.308 MB / 0.7048 GB, free: 44.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/1.004, allocations: 21.01 MB / 0.7253 GB, free: 24.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003888/1.007, allocations: 3.418 MB / 0.7287 GB, free: 21.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00484/1.012, allocations: 2.637 MB / 0.7312 GB, free: 20.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.014, allocations: 0.5254 MB / 0.7318 GB, free: 19.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.124e-06/1.014, allocations: 4 kB / 0.7318 GB, free: 19.6 MB / 474.7 MB Notification: Performance of Templates: time 0.2508/1.264, allocations: 76.47 MB / 0.8064 GB, free: 127.9 MB / 0.4948 GB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.27014118572697]