Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001146/0.001146, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001536/0.001536, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9384/0.9384, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1479/0.1479, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.574e-05, allocations: 4.281 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.004385/0.004401, allocations: 6.733 MB / 354.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.006476, allocations: 2.147 MB / 356.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.006739, allocations: 23.94 kB / 356.6 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.00836, allocations: 1.61 MB / 358.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000925/0.009285, allocations: 0.7029 MB / 358.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.01013, allocations: 0.7009 MB / 359.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008255/0.01095, allocations: 1.221 MB / 360.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007608/0.01171, allocations: 0.7647 MB / 361.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005332/0.01225, allocations: 0.7014 MB / 362.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.01263, allocations: 494.5 kB / 362.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.885e-05/0.01273, allocations: 96 kB / 362.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003519/0.01308, allocations: 275.6 kB / 363.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.01322, allocations: 262.9 kB / 363.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.01347, allocations: 402.9 kB / 363.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008205/0.01429, allocations: 1.008 MB / 364.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.01429, allocations: 0 / 364.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01429, allocations: 0 / 364.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.0143, allocations: 0 / 364.8 MB, free: 8.25 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00215/0.01645, allocations: 1.776 MB / 366.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.01649, allocations: 12.03 kB / 366.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.02149, allocations: 1.764 MB / 368.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.02203, allocations: 0.4944 MB / 368.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.02208, allocations: 98.42 kB / 368.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.02222, allocations: 128 kB / 369 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.02333, allocations: 1.041 MB / 370.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.02335, allocations: 7.953 kB / 370.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/0.02342, allocations: 52 kB / 370.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.02344, allocations: 28 kB / 370.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.02452, allocations: 0.8575 MB / 371 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004672/0.0292, allocations: 3.26 MB / 374.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.03038, allocations: 0.7105 MB / 375 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.03071, allocations: 213.6 kB / 375.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.35e-05/0.03078, allocations: 24.98 kB / 375.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.03082, allocations: 46.39 kB / 375.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.625e-06/0.03082, allocations: 0 / 375.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.001298/0.03212, allocations: 0.6985 MB / 376 MB, free: 12.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.03215, allocations: 60.41 kB / 376 MB, free: 12.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.03263, allocations: 0.5022 MB / 376.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.03268, allocations: 41.7 kB / 376.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.03296, allocations: 0.565 MB / 377.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.03317, allocations: 321.3 kB / 377.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.03344, allocations: 204.5 kB / 377.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.03362, allocations: 0.5508 MB / 378.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.03396, allocations: 174.5 kB / 378.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.03451, allocations: 0.5493 MB / 378.9 MB, free: 9.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/0.03542, allocations: 0.7736 MB / 379.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.03542, allocations: 4 kB / 379.7 MB, free: 8.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001316/0.03674, allocations: 0.8671 MB / 380.6 MB, free: 7.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.03676, allocations: 12 kB / 380.6 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.03677, allocations: 11.94 kB / 380.6 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/0.03703, allocations: 80.03 kB / 380.7 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/0.03774, allocations: 259.6 kB / 380.9 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.03974, allocations: 3.522 MB / 384.4 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.04019, allocations: 115.1 kB / 384.6 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.04026, allocations: 51.98 kB / 384.6 MB, free: 3.504 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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.0005699/0.04083, allocations: 224.5 kB / 384.8 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.04096, allocations: 95.62 kB / 384.9 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.04219, allocations: 0.8813 MB / 385.8 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.0422, allocations: 11.98 kB / 385.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.0422, allocations: 0 / 385.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.04221, allocations: 3.984 kB / 385.8 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.04446, allocations: 1.733 MB / 387.5 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.04446, allocations: 8.156 kB / 387.6 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.04496, allocations: 179.7 kB / 387.7 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.04516, allocations: 87.23 kB / 387.8 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.04521, allocations: 28 kB / 387.8 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.04678, allocations: 3.515 MB / 391.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.04678, allocations: 7.938 kB / 391.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.04834, allocations: 1.127 MB / 392.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.04844, allocations: 91.34 kB / 392.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.04852, allocations: 27.95 kB / 392.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.04889, allocations: 52.06 kB / 392.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.04901, allocations: 88.34 kB / 392.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.04905, allocations: 32 kB / 392.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000292/0.04935, allocations: 331 kB / 393.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.04935, allocations: 4 kB / 393.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000761/0.05011, allocations: 323.2 kB / 393.4 MB, free: 10.09 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 (94): * Single equations (assignments): 92 * 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.0002189/0.05033, allocations: 171 kB / 393.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.05159, allocations: 0.9334 MB / 394.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.0516, allocations: 0 / 394.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.05216, allocations: 0.6123 MB / 395.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.05279, allocations: 109.8 kB / 395.2 MB, free: 8.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.05565, allocations: 1.793 MB / 397 MB, free: 6.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.05579, allocations: 181.9 kB / 397.2 MB, free: 6.062 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003777/0.05617, allocations: 121.9 kB / 397.3 MB, free: 5.941 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.05635, allocations: 72.47 kB / 397.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.05635, allocations: 0 / 397.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of Templates: time 0.01383/0.07018, allocations: 8.652 MB / 406.1 MB, free: 13.3 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.448273167014122]