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.0007408/0.0007408, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009897/0.00173, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0008431/0.0008431, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002175, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9273/0.9273, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08492/1.012, allocations: 53.88 MB / 243.9 MB, free: 14.82 MB / 250.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.2326/0.2326, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02215/0.2548, allocations: 13.24 MB / 292.8 MB, free: 6.363 MB / 282.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.733e-06/1.733e-06, allocations: 0 / 294.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.23e-05, allocations: 7.406 kB / 294.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005426/0.005438, allocations: 7.207 MB / 301.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.00893, allocations: 2.381 MB / 303.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/0.009309, allocations: 27.94 kB / 303.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.0111, allocations: 1.858 MB / 305.6 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.01211, allocations: 0.6949 MB / 306.3 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008577/0.01297, allocations: 0.7241 MB / 307 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008171/0.01378, allocations: 1.28 MB / 308.3 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000746/0.01453, allocations: 0.848 MB / 309.1 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.01514, allocations: 0.7864 MB / 309.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003968/0.01554, allocations: 0.5142 MB / 310.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.01563, allocations: 108 kB / 310.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.01603, allocations: 307.6 kB / 310.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.01614, allocations: 195.3 kB / 311 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.01638, allocations: 343.3 kB / 311.4 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009811/0.01736, allocations: 1.008 MB / 312.4 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.01737, allocations: 4 kB / 312.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01737, allocations: 0 / 312.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.01738, allocations: 0 / 312.4 MB, free: 2.699 MB / 298.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.00243/0.01981, allocations: 2.148 MB / 314.5 MB, free: 0.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.01984, allocations: 8.922 kB / 314.5 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.02437, allocations: 1.764 MB / 316.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.02479, allocations: 343.6 kB / 316.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.02484, allocations: 95.03 kB / 316.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.02496, allocations: 136.3 kB / 316.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.02595, allocations: 0.9965 MB / 317.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.02598, allocations: 15.86 kB / 317.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.02604, allocations: 56 kB / 317.9 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.02606, allocations: 36 kB / 317.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.02666, allocations: 0.5906 MB / 318.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.02993, allocations: 2.977 MB / 321.5 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.03061, allocations: 0.5969 MB / 322.1 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.03075, allocations: 148.2 kB / 322.3 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.785e-05/0.03081, allocations: 36.97 kB / 322.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.03084, allocations: 55.48 kB / 322.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 2.014e-06/0.03084, allocations: 0 / 322.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=90): time 0.0006406/0.03148, allocations: 492 kB / 322.8 MB, free: 7.949 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.03151, allocations: 64.34 kB / 322.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.03175, allocations: 426.8 kB / 323.3 MB, free: 7.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.03179, allocations: 41.7 kB / 323.3 MB, free: 7.398 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.03197, allocations: 0.5235 MB / 323.9 MB, free: 6.867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.0321, allocations: 321.2 kB / 324.2 MB, free: 6.551 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.03227, allocations: 206.7 kB / 324.4 MB, free: 6.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.03236, allocations: 378.6 kB / 324.8 MB, free: 5.965 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.0325, allocations: 110.6 kB / 324.9 MB, free: 5.855 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.03301, allocations: 401.6 kB / 325.3 MB, free: 5.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.03354, allocations: 0.6347 MB / 325.9 MB, free: 4.602 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.03355, allocations: 7.938 kB / 325.9 MB, free: 4.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0006282/0.03418, allocations: 0.6105 MB / 326.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.03419, allocations: 12.22 kB / 326.5 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.0342, allocations: 8 kB / 326.5 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.03439, allocations: 77.58 kB / 326.6 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.03493, allocations: 307.6 kB / 326.9 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.03602, allocations: 2.359 MB / 329.3 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.03633, allocations: 111.2 kB / 329.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.03637, allocations: 43.98 kB / 329.4 MB, free: 0.8867 MB / 314.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.0001582/0.03653, allocations: 177.6 kB / 329.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.0366, allocations: 71.94 kB / 329.7 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.03725, allocations: 0.6917 MB / 330.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.03726, allocations: 12 kB / 330.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-06/0.03726, allocations: 0 / 330.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.03727, allocations: 7.922 kB / 330.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.03854, allocations: 1.245 MB / 331.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.03855, allocations: 7.984 kB / 331.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/0.03922, allocations: 212.2 kB / 331.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.03928, allocations: 71.38 kB / 331.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001567/0.03944, allocations: 73.66 kB / 332 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.03947, allocations: 23.98 kB / 332 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009623/0.04043, allocations: 2.356 MB / 334.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.04043, allocations: 16.19 kB / 334.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.04109, allocations: 0.8003 MB / 335.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.04114, allocations: 24 kB / 335.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.04139, allocations: 56 kB / 335.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.04147, allocations: 80.41 kB / 335.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.0415, allocations: 27.98 kB / 335.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.04164, allocations: 180.6 kB / 335.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04164, allocations: 0 / 335.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005538/0.04219, allocations: 343.1 kB / 335.9 MB, free: 10.01 MB / 330.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.0002208/0.04241, allocations: 164.1 kB / 336 MB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006523/0.04306, allocations: 0.7425 MB / 336.8 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.801e-05/0.04309, allocations: 19.12 kB / 336.8 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.04353, allocations: 0.5278 MB / 337.3 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.04406, allocations: 0.6055 MB / 337.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007861/0.05192, allocations: 1.851 MB / 339.8 MB, free: 5.848 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.05203, allocations: 193.1 kB / 340 MB, free: 5.633 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.05229, allocations: 121.9 kB / 340.1 MB, free: 5.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.05253, allocations: 187.3 kB / 340.3 MB, free: 5.328 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.05253, allocations: 0 / 340.3 MB, free: 5.328 MB / 330.7 MB Notification: Performance of Templates: time 0.01175/0.06428, allocations: 9.968 MB / 350.2 MB, free: 11.51 MB / 346.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8540229937061667]