Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.000932/0.000932, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009544/0.0009544, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9372/0.9372, allocations: 177 MB / 205.2 MB, free: 5.055 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.242/0.242, allocations: 34.86 MB / 296.6 MB, free: 392 kB / 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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.568e-05, allocations: 6.609 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007626/0.007662, allocations: 7.118 MB / 333 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003552/0.01121, allocations: 2.357 MB / 335.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.0115, allocations: 27.94 kB / 335.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.01331, allocations: 1.858 MB / 337.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009702/0.01428, allocations: 0.7066 MB / 338 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009105/0.01519, allocations: 0.737 MB / 338.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000796/0.01598, allocations: 1.287 MB / 340 MB, free: 8.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007933/0.01678, allocations: 0.918 MB / 340.9 MB, free: 8.027 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.01734, allocations: 0.7482 MB / 341.7 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.01774, allocations: 0.5259 MB / 342.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.433e-05/0.01783, allocations: 108 kB / 342.3 MB, free: 6.645 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.01822, allocations: 287.6 kB / 342.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.01835, allocations: 282.8 kB / 342.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.01861, allocations: 422.9 kB / 343.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008491/0.01946, allocations: 1.097 MB / 344.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.01946, allocations: 0 / 344.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01946, allocations: 0 / 344.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.01947, allocations: 0 / 344.4 MB, free: 4.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002349/0.02182, allocations: 1.823 MB / 346.2 MB, free: 2.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.02185, allocations: 8.031 kB / 346.2 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006334/0.02818, allocations: 1.772 MB / 348 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.02922, allocations: 339.6 kB / 348.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.889e-05/0.02931, allocations: 99.03 kB / 348.4 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002782/0.02959, allocations: 144.3 kB / 348.5 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.03109, allocations: 0.9888 MB / 349.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.03114, allocations: 7.938 kB / 349.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.03124, allocations: 59.98 kB / 349.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.03127, allocations: 32 kB / 349.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.03232, allocations: 0.5944 MB / 350.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005593/0.03792, allocations: 2.962 MB / 353.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000966/0.03888, allocations: 0.5891 MB / 353.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.03906, allocations: 150.3 kB / 353.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.501e-05/0.03914, allocations: 40.97 kB / 354 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.03917, allocations: 47.56 kB / 354 MB, free: 10.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 3.026e-06/0.03918, allocations: 0 / 354 MB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=90): time 0.0007402/0.03992, allocations: 488 kB / 354.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.03994, allocations: 64.41 kB / 354.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.04022, allocations: 426.8 kB / 355 MB, free: 9.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.04026, allocations: 41.7 kB / 355 MB, free: 9.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.04053, allocations: 0.5235 MB / 355.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.0407, allocations: 321.2 kB / 355.8 MB, free: 8.805 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.04088, allocations: 202.7 kB / 356 MB, free: 8.602 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.04098, allocations: 374.6 kB / 356.4 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.04112, allocations: 114.5 kB / 356.5 MB, free: 8.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.04138, allocations: 405.6 kB / 356.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.04187, allocations: 0.6083 MB / 357.5 MB, free: 6.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.04188, allocations: 7.938 kB / 357.5 MB, free: 6.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0006604/0.04254, allocations: 0.6065 MB / 358.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.04255, allocations: 8.188 kB / 358.1 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.04257, allocations: 12 kB / 358.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.04278, allocations: 65.66 kB / 358.2 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.04327, allocations: 263.5 kB / 358.5 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.04445, allocations: 2.349 MB / 360.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.04484, allocations: 111.2 kB / 360.9 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.04489, allocations: 39.98 kB / 361 MB, free: 3.238 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001932/0.04508, allocations: 177.5 kB / 361.1 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.04516, allocations: 79.86 kB / 361.2 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/0.04585, allocations: 0.6879 MB / 361.9 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.04586, allocations: 8 kB / 361.9 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.04586, allocations: 0 / 361.9 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.04587, allocations: 7.922 kB / 361.9 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.04738, allocations: 1.249 MB / 363.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.04739, allocations: 12.03 kB / 363.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.04773, allocations: 171.8 kB / 363.4 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.04789, allocations: 65.59 kB / 363.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.04792, allocations: 28 kB / 363.5 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009753/0.0489, allocations: 2.353 MB / 365.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.0489, allocations: 11.94 kB / 365.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/0.04961, allocations: 0.8004 MB / 366.6 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.04969, allocations: 75.36 kB / 366.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.04974, allocations: 27.98 kB / 366.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.05001, allocations: 52.08 kB / 366.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.05013, allocations: 84.41 kB / 366.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.05017, allocations: 27.98 kB / 366.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.05033, allocations: 168.7 kB / 367 MB, free: 12.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-08/0.05033, allocations: 0 / 367 MB, free: 12.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007353/0.05106, allocations: 347.1 kB / 367.4 MB, free: 12.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0002211/0.05129, allocations: 164 kB / 367.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007454/0.05203, allocations: 0.7262 MB / 368.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/0.05205, allocations: 8.5 kB / 368.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.05239, allocations: 476.7 kB / 368.7 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.05277, allocations: 101.8 kB / 368.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.0551, allocations: 1.716 MB / 370.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.05523, allocations: 193.8 kB / 370.7 MB, free: 8.848 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.05553, allocations: 121.9 kB / 370.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.0558, allocations: 187.3 kB / 371 MB, free: 8.543 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.0558, allocations: 0 / 371 MB, free: 8.543 MB / 346.7 MB Notification: Performance of Templates: time 0.0134/0.0692, allocations: 9.813 MB / 380.9 MB, free: 14.9 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/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: 3.023101155180484]