Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.002235, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009533/0.0009533, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002114, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.01/1.01, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1759/1.186, allocations: 52.49 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1512/0.1512, allocations: 32.8 MB / 272 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02133/0.1725, allocations: 12.54 MB / 284.6 MB, free: 9.688 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 285.8 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.857e-05, allocations: 2.312 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0154/0.01542, allocations: 18.56 MB / 304.4 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.02911, allocations: 5.213 MB / 309.6 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/0.03276, allocations: 191 kB / 309.8 MB, free: 340 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009932/0.0427, allocations: 8.267 MB / 318.1 MB, free: 8.027 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007079/0.04978, allocations: 2.276 MB / 320.4 MB, free: 5.738 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.05244, allocations: 1.274 MB / 321.6 MB, free: 4.473 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1774/0.2299, allocations: 12.69 MB / 334.3 MB, free: 1.305 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02592/0.2558, allocations: 16.84 MB / 351.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02024/0.276, allocations: 10.14 MB / 361.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/0.2884, allocations: 7.31 MB / 368.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006318/0.2948, allocations: 1.724 MB / 370.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008193/0.303, allocations: 1.926 MB / 372.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006523/0.3095, allocations: 2.968 MB / 375.2 MB, free: 8.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01321/0.3227, allocations: 3.927 MB / 379.1 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01808/0.3408, allocations: 11.33 MB / 390.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.758e-05/0.3408, allocations: 0 / 390.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3408, allocations: 0 / 390.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006383/0.3414, allocations: 0 / 390.5 MB, free: 9.977 MB / 362.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.02859/0.37, allocations: 16.51 MB / 407 MB, free: 10.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.37, allocations: 8.031 kB / 407 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03213/0.4022, allocations: 10.22 MB / 417.2 MB, free: 368 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009112/0.4113, allocations: 3.635 MB / 420.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007464/0.412, allocations: 0.8868 MB / 421.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004353/0.4164, allocations: 1.182 MB / 422.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02491/0.4413, allocations: 8.938 MB / 431.9 MB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003484/0.4416, allocations: 19.56 kB / 431.9 MB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002579/0.4442, allocations: 496.7 kB / 432.4 MB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006418/0.4449, allocations: 0.6265 MB / 433 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.4598, allocations: 4.117 MB / 437.1 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06156/0.5213, allocations: 34.22 MB / 471.3 MB, free: 11.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/0.5275, allocations: 5.441 MB / 476.8 MB, free: 6.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.5294, allocations: 1.142 MB / 477.9 MB, free: 5.109 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/0.5297, allocations: 173 kB / 478.1 MB, free: 4.938 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.065e-05/0.5298, allocations: 111.2 kB / 478.2 MB, free: 4.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=653): time 8.176e-06/0.5298, allocations: 0 / 478.2 MB, free: 4.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=653): time 0.004887/0.5347, allocations: 2.952 MB / 481.1 MB, free: 1.812 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.5347, allocations: 124.5 kB / 481.3 MB, free: 1.676 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.5375, allocations: 2.343 MB / 483.6 MB, free: 15.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003844/0.5379, allocations: 133.7 kB / 483.7 MB, free: 15.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002151/0.54, allocations: 4.306 MB / 488 MB, free: 11.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001808/0.5419, allocations: 2.27 MB / 490.3 MB, free: 9.324 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.5433, allocations: 1.289 MB / 491.6 MB, free: 8.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.5434, allocations: 305.1 kB / 491.9 MB, free: 7.879 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.5446, allocations: 0.6903 MB / 492.6 MB, free: 7.188 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.5473, allocations: 3.507 MB / 496.1 MB, free: 2.629 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2975/0.8449, allocations: 5.361 MB / 0.4897 GB, free: 105.7 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-05/0.845, allocations: 27.19 kB / 0.4897 GB, free: 105.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.007612/0.8526, allocations: 4.249 MB / 0.4939 GB, free: 105.4 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.8527, allocations: 46.81 kB / 0.4939 GB, free: 105.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.982e-05/0.8527, allocations: 89.22 kB / 0.494 GB, free: 105.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008107/0.8535, allocations: 367.1 kB / 0.4944 GB, free: 105.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005279/0.8588, allocations: 2.002 MB / 0.4963 GB, free: 105.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.8618, allocations: 7.259 MB / 0.5034 GB, free: 98.59 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/0.8655, allocations: 0.7497 MB / 0.5041 GB, free: 98.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004588/0.8659, allocations: 296.4 kB / 0.5044 GB, free: 98.59 MB / 458.8 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.002515/0.8685, allocations: 0.6377 MB / 0.505 GB, free: 98.47 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008387/0.8693, allocations: 490.5 kB / 0.5055 GB, free: 98.47 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005617/0.8749, allocations: 4.295 MB / 0.5097 GB, free: 98.05 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/0.875, allocations: 66.91 kB / 0.5098 GB, free: 98.05 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.875, allocations: 2.969 kB / 0.5098 GB, free: 98.05 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-05/0.875, allocations: 33.47 kB / 0.5098 GB, free: 98.05 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04347/0.9185, allocations: 19.68 MB / 0.529 GB, free: 93.09 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.466e-05/0.9185, allocations: 85.89 kB / 0.5291 GB, free: 93.09 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003081/0.9216, allocations: 1.495 MB / 0.5306 GB, free: 93.09 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/0.9239, allocations: 0.8712 MB / 0.5314 GB, free: 92.91 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006367/0.9246, allocations: 356 kB / 0.5318 GB, free: 92.85 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00034/0.9249, allocations: 233.7 kB / 0.532 GB, free: 92.85 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.9275, allocations: 7.247 MB / 0.5391 GB, free: 86.07 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.699e-05/0.9276, allocations: 134.8 kB / 0.5392 GB, free: 86.06 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008199/0.9358, allocations: 8.763 MB / 0.5477 GB, free: 78.09 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009116/0.9367, allocations: 246.3 kB / 0.548 GB, free: 77.95 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002685/0.9393, allocations: 278.1 kB / 0.5482 GB, free: 77.79 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007347/0.9401, allocations: 0.742 MB / 0.549 GB, free: 77.44 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003505/0.9404, allocations: 249.6 kB / 0.5492 GB, free: 77.25 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001249/0.9417, allocations: 1.088 MB / 0.5503 GB, free: 76.56 MB / 458.8 MB Notification: Performance of sort global known variables: time 8e-08/0.9417, allocations: 0 / 0.5503 GB, free: 76.56 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007792/0.9495, allocations: 2.945 MB / 0.5531 GB, free: 74.14 MB / 458.8 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.001295/0.9508, allocations: 478.6 kB / 0.5536 GB, free: 73.95 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006178/0.9569, allocations: 4.444 MB / 0.5579 GB, free: 70.62 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000278/0.9572, allocations: 129.9 kB / 0.5581 GB, free: 70.48 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01198/0.9692, allocations: 4.651 MB / 0.5626 GB, free: 67.14 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007531/0.9767, allocations: 8.871 MB / 0.5713 GB, free: 57.54 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06751/1.044, allocations: 20.84 MB / 0.5916 GB, free: 37.94 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00416/1.048, allocations: 2.532 MB / 0.5941 GB, free: 36.18 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.003359/1.052, allocations: 0.8899 MB / 0.595 GB, free: 35.48 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/1.054, allocations: 1.143 MB / 0.5961 GB, free: 34.46 MB / 458.8 MB Notification: Performance of SimCode: time 2.394e-06/1.054, allocations: 0 / 0.5961 GB, free: 34.46 MB / 458.8 MB Notification: Performance of Templates: time 0.3381/1.392, allocations: 85.92 MB / 0.68 GB, free: 116.1 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.609589262865484]