Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.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.2663/0.2663, allocations: 32.8 MB / 294.6 MB, free: 1.199 MB / 266.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.853e-05, allocations: 4.062 kB / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008428/0.008457, allocations: 6.668 MB / 329.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.01371, allocations: 2.263 MB / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006929/0.0144, allocations: 23.94 kB / 332.2 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.01648, allocations: 1.609 MB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.01804, allocations: 0.6873 MB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.01916, allocations: 0.6888 MB / 335.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.0206, allocations: 1.198 MB / 336.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.02183, allocations: 0.8076 MB / 337.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000953/0.02278, allocations: 0.6897 MB / 337.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.02337, allocations: 486.6 kB / 338.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.02351, allocations: 96 kB / 338.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007561/0.02427, allocations: 279.7 kB / 338.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.02442, allocations: 254.9 kB / 339 MB, free: 9.863 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.02472, allocations: 386.9 kB / 339.4 MB, free: 9.484 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.02597, allocations: 1.012 MB / 340.4 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.02597, allocations: 0 / 340.4 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.02598, allocations: 4 kB / 340.4 MB, free: 8.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.026, allocations: 0 / 340.4 MB, free: 8.465 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002473/0.02848, allocations: 1.682 MB / 342.1 MB, free: 6.754 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.02851, allocations: 16.02 kB / 342.1 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.03369, allocations: 1.745 MB / 343.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.03461, allocations: 331.7 kB / 344.1 MB, free: 4.637 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.03466, allocations: 90.78 kB / 344.2 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.03478, allocations: 128.1 kB / 344.4 MB, free: 4.422 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.0357, allocations: 0.9381 MB / 345.3 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.03573, allocations: 7.953 kB / 345.3 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/0.03579, allocations: 52 kB / 345.4 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.03581, allocations: 28 kB / 345.4 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.03646, allocations: 0.5645 MB / 346 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.04016, allocations: 2.701 MB / 348.7 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/0.04088, allocations: 0.55 MB / 349.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.04106, allocations: 150.4 kB / 349.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.602e-05/0.04114, allocations: 40.97 kB / 349.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.04117, allocations: 47.56 kB / 349.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=89): time 4.037e-06/0.04118, allocations: 0 / 349.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=89): time 0.0007094/0.04189, allocations: 488 kB / 349.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.04192, allocations: 64.39 kB / 350 MB, free: 14.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.04217, allocations: 398.9 kB / 350.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.04221, allocations: 41.7 kB / 350.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.0424, allocations: 484.3 kB / 350.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/0.04283, allocations: 321.2 kB / 351.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.04301, allocations: 186.8 kB / 351.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.04311, allocations: 374.7 kB / 351.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.04325, allocations: 106.6 kB / 351.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.0435, allocations: 359.6 kB / 352.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.04398, allocations: 0.544 MB / 352.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.04399, allocations: 4 kB / 352.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006369/0.04462, allocations: 0.5712 MB / 353.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.04465, allocations: 8 kB / 353.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.04466, allocations: 8 kB / 353.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.04486, allocations: 69.91 kB / 353.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.0454, allocations: 263.6 kB / 353.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.04665, allocations: 2.374 MB / 356 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.04703, allocations: 103.3 kB / 356.1 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.04707, allocations: 31.98 kB / 356.2 MB, free: 8.004 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0002008/0.04727, allocations: 181.6 kB / 356.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.04735, allocations: 67.94 kB / 356.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.04807, allocations: 0.6876 MB / 357.1 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.04808, allocations: 12 kB / 357.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.04808, allocations: 0 / 357.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.04809, allocations: 7.969 kB / 357.1 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.04994, allocations: 1.221 MB / 358.3 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.04994, allocations: 4 kB / 358.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.05036, allocations: 200.5 kB / 358.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.05052, allocations: 73.59 kB / 358.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.05055, allocations: 20 kB / 358.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.05163, allocations: 2.353 MB / 361 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.05163, allocations: 11.94 kB / 361 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.05239, allocations: 0.8039 MB / 361.8 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.05247, allocations: 63.48 kB / 361.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.395e-05/0.05253, allocations: 35.88 kB / 361.9 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.05279, allocations: 48.05 kB / 361.9 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.05289, allocations: 80.34 kB / 362 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.05293, allocations: 27.98 kB / 362 MB, free: 1.699 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.05306, allocations: 168.7 kB / 362.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05306, allocations: 4 kB / 362.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006854/0.05374, allocations: 319.2 kB / 362.5 MB, free: 1.211 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 (92): * Single equations (assignments): 90 * 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.0002376/0.05398, allocations: 168.1 kB / 362.7 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007333/0.05472, allocations: 0.6902 MB / 363.4 MB, free: 332 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/0.05473, allocations: 8.5 kB / 363.4 MB, free: 324 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.0551, allocations: 482.3 kB / 363.9 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.05548, allocations: 93.5 kB / 363.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.05776, allocations: 1.62 MB / 365.6 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.05788, allocations: 177.7 kB / 365.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002917/0.05817, allocations: 125.6 kB / 365.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.05845, allocations: 187.2 kB / 366 MB, free: 13.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.05845, allocations: 0 / 366 MB, free: 13.5 MB / 346.7 MB Notification: Performance of Templates: time 0.01345/0.0719, allocations: 9.608 MB / 375.7 MB, free: 4.02 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0969545957632363]