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.001215/0.001215, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001361/0.001361, allocations: 165.2 kB / 25.61 MB, free: 8.586 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 1.01/1.01, allocations: 177 MB / 205.9 MB, free: 4.457 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.1356/0.1356, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.833e-06/1.833e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.786e-05, allocations: 2.312 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00484/0.004857, allocations: 7.096 MB / 387.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.007775, allocations: 2.256 MB / 389.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004294/0.008204, allocations: 27.94 kB / 389.4 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.009858, allocations: 1.804 MB / 391.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.01091, allocations: 0.7066 MB / 391.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007479/0.01166, allocations: 0.7233 MB / 392.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000725/0.01238, allocations: 1.285 MB / 393.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007311/0.01311, allocations: 0.8672 MB / 394.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005408/0.01365, allocations: 0.7483 MB / 395.5 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.01401, allocations: 0.5181 MB / 396 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.769e-05/0.0141, allocations: 108 kB / 396.1 MB, free: 6.516 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.01446, allocations: 291.6 kB / 396.4 MB, free: 6.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.962e-05/0.01456, allocations: 278.9 kB / 396.7 MB, free: 5.957 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.01477, allocations: 430.8 kB / 397.1 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007721/0.01554, allocations: 1.097 MB / 398.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01554, allocations: 0 / 398.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01554, allocations: 4 kB / 398.2 MB, free: 4.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.01556, allocations: 0 / 398.2 MB, free: 4.43 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.002137/0.01769, allocations: 1.889 MB / 400.1 MB, free: 2.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.01772, allocations: 11.97 kB / 400.1 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/0.02216, allocations: 1.584 MB / 401.7 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.02265, allocations: 0.51 MB / 402.2 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.02269, allocations: 99.03 kB / 402.3 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.02281, allocations: 136.3 kB / 402.5 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/0.02373, allocations: 0.9654 MB / 403.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.02376, allocations: 7.938 kB / 403.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/0.02384, allocations: 56 kB / 403.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.02386, allocations: 35.98 kB / 403.5 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008022/0.02467, allocations: 0.6996 MB / 404.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.02882, allocations: 3.569 MB / 407.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007834/0.0296, allocations: 0.6477 MB / 408.4 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.02978, allocations: 172.4 kB / 408.6 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.74e-05/0.02985, allocations: 36.97 kB / 408.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.02988, allocations: 50.39 kB / 408.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 2.094e-06/0.02988, allocations: 0 / 408.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=90): time 0.0008668/0.03074, allocations: 0.6281 MB / 409.3 MB, free: 9.051 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.03078, allocations: 60.41 kB / 409.4 MB, free: 8.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.03108, allocations: 0.4942 MB / 409.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.03112, allocations: 41.7 kB / 409.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005146/0.03163, allocations: 0.6038 MB / 410.5 MB, free: 7.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.03179, allocations: 317.2 kB / 410.8 MB, free: 7.496 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.03199, allocations: 220.4 kB / 411 MB, free: 7.273 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.03214, allocations: 0.5585 MB / 411.6 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.03232, allocations: 130.5 kB / 411.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.03266, allocations: 0.5217 MB / 412.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005785/0.03324, allocations: 0.7341 MB / 413 MB, free: 5.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.03325, allocations: 0 / 413 MB, free: 5.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0008825/0.03413, allocations: 0.7965 MB / 413.8 MB, free: 4.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.03415, allocations: 8.969 kB / 413.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.03416, allocations: 8 kB / 413.8 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.0344, allocations: 83.31 kB / 413.9 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.03491, allocations: 259.6 kB / 414.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.0366, allocations: 3.474 MB / 417.6 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.03696, allocations: 115.4 kB / 417.7 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.03701, allocations: 44.03 kB / 417.8 MB, free: 15.98 MB / 346.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.000185/0.03719, allocations: 228.2 kB / 418 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.0373, allocations: 99.58 kB / 418.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008485/0.03815, allocations: 0.8262 MB / 418.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.03815, allocations: 12 kB / 418.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.03816, allocations: 3.938 kB / 418.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.03816, allocations: 3.984 kB / 418.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.03975, allocations: 1.623 MB / 420.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.03976, allocations: 8.781 kB / 420.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.04012, allocations: 179.7 kB / 420.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000164/0.04028, allocations: 83.28 kB / 420.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.04031, allocations: 27.94 kB / 420.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.04153, allocations: 3.466 MB / 424.3 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.04153, allocations: 12.19 kB / 424.3 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.04273, allocations: 1.053 MB / 425.4 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.04279, allocations: 83.41 kB / 425.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.04285, allocations: 27.98 kB / 425.5 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.04312, allocations: 51.95 kB / 425.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.04321, allocations: 88.34 kB / 425.6 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.04324, allocations: 27.98 kB / 425.6 MB, free: 7.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.04341, allocations: 303 kB / 425.9 MB, free: 7.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.04341, allocations: 0 / 425.9 MB, free: 7.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005906/0.04401, allocations: 351.1 kB / 426.3 MB, free: 6.887 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.0002015/0.04421, allocations: 178.9 kB / 426.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007612/0.04497, allocations: 0.871 MB / 427.3 MB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.04497, allocations: 0 / 427.3 MB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.04536, allocations: 0.5972 MB / 427.9 MB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.04578, allocations: 111.1 kB / 428 MB, free: 5.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.04771, allocations: 1.778 MB / 429.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.04783, allocations: 185.9 kB / 430 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002862/0.04812, allocations: 129.9 kB / 430.1 MB, free: 2.801 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.04842, allocations: 222.1 kB / 430.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.04842, allocations: 0 / 430.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of Templates: time 0.01292/0.06134, allocations: 10.1 MB / 440.4 MB, free: 8.656 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.534396504983306]