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.0007833/0.0007833, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007596/0.0007596, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.8122/0.8122, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1231/0.1231, allocations: 32.37 MB / 270.4 MB, free: 14.97 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 2.254e-06/2.254e-06, allocations: 0 / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.869e-05, allocations: 9.875 kB / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.004814/0.004843, allocations: 6.11 MB / 414.2 MB, free: 6.875 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.008147, allocations: 2.089 MB / 416.3 MB, free: 4.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004404/0.008587, allocations: 23.94 kB / 416.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.01033, allocations: 1.497 MB / 417.8 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.01149, allocations: 0.7068 MB / 418.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009273/0.01242, allocations: 0.6814 MB / 419.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.01388, allocations: 1.225 MB / 420.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.01527, allocations: 0.7686 MB / 421.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.01635, allocations: 0.6975 MB / 421.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.01678, allocations: 482.6 kB / 422.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.01688, allocations: 96 kB / 422.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006991/0.01758, allocations: 275.6 kB / 422.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.0177, allocations: 258.9 kB / 423 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.01797, allocations: 394.9 kB / 423.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.01925, allocations: 1.491 MB / 424.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01925, allocations: 7.875 kB / 424.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01926, allocations: 0 / 424.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.01927, allocations: 4 kB / 424.9 MB, free: 12.15 MB / 362.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.002193/0.02146, allocations: 1.64 MB / 426.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.0215, allocations: 8.031 kB / 426.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/0.02617, allocations: 1.436 MB / 428 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.02689, allocations: 495.5 kB / 428.5 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.114e-05/0.02694, allocations: 98.42 kB / 428.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.02707, allocations: 128 kB / 428.7 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.02847, allocations: 1.357 MB / 430 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.02849, allocations: 4 kB / 430 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.02857, allocations: 52 kB / 430.1 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.02859, allocations: 28 kB / 430.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.0301, allocations: 1.419 MB / 431.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.03416, allocations: 3.331 MB / 434.9 MB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.03522, allocations: 0.835 MB / 435.7 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.03558, allocations: 345.7 kB / 436 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.03564, allocations: 20.98 kB / 436.1 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.03567, allocations: 43.56 kB / 436.1 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 3.416e-06/0.03567, allocations: 4 kB / 436.1 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of matching and sorting (n=91): time 0.1626/0.1982, allocations: 1.014 MB / 437.1 MB, free: 28.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.1983, allocations: 62 kB / 437.2 MB, free: 28.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.1988, allocations: 0.5031 MB / 437.7 MB, free: 28.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.667e-05/0.1988, allocations: 42.2 kB / 437.7 MB, free: 28.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.1991, allocations: 0.5083 MB / 438.2 MB, free: 28.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.1992, allocations: 328.1 kB / 438.5 MB, free: 27.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.1994, allocations: 194.5 kB / 438.7 MB, free: 27.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.1995, allocations: 376.3 kB / 439.1 MB, free: 27.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.1999, allocations: 341.8 kB / 439.4 MB, free: 27.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.2005, allocations: 0.6055 MB / 440 MB, free: 27.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009817/0.2015, allocations: 0.9792 MB / 441 MB, free: 27.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.2015, allocations: 3.453 kB / 441 MB, free: 27.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001409/0.2029, allocations: 1.145 MB / 442.2 MB, free: 26.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2029, allocations: 13.5 kB / 442.2 MB, free: 26.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.2029, allocations: 9.844 kB / 442.2 MB, free: 26.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.2031, allocations: 64.12 kB / 442.3 MB, free: 26.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.2037, allocations: 261 kB / 442.5 MB, free: 26.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.2048, allocations: 2.566 MB / 445.1 MB, free: 24.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.2053, allocations: 115.7 kB / 445.2 MB, free: 24.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.2053, allocations: 49.48 kB / 445.2 MB, free: 24.48 MB / 362.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.0003415/0.2057, allocations: 258.4 kB / 445.5 MB, free: 24.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.308e-05/0.2058, allocations: 67.41 kB / 445.6 MB, free: 24.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.207, allocations: 1.089 MB / 446.6 MB, free: 24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.207, allocations: 12.75 kB / 446.7 MB, free: 24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2071, allocations: 0 / 446.7 MB, free: 24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.2071, allocations: 9 kB / 446.7 MB, free: 24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.2094, allocations: 2.04 MB / 448.7 MB, free: 22.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.2094, allocations: 9.594 kB / 448.7 MB, free: 22.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.2099, allocations: 186.1 kB / 448.9 MB, free: 22.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/0.21, allocations: 59.38 kB / 449 MB, free: 22.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.2101, allocations: 27.27 kB / 449 MB, free: 22.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008553/0.2109, allocations: 2.56 MB / 451.5 MB, free: 20.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/0.2109, allocations: 11.92 kB / 451.6 MB, free: 20.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.2123, allocations: 1.445 MB / 453 MB, free: 19.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.2124, allocations: 90.61 kB / 453.1 MB, free: 19.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.2125, allocations: 24.62 kB / 453.1 MB, free: 19.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.2128, allocations: 61.08 kB / 453.2 MB, free: 19.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.2129, allocations: 89.27 kB / 453.3 MB, free: 19.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.213, allocations: 32.36 kB / 453.3 MB, free: 19.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003046/0.2133, allocations: 352.7 kB / 453.6 MB, free: 19.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2133, allocations: 0 / 453.6 MB, free: 19.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008983/0.2142, allocations: 335.4 kB / 454 MB, free: 19.14 MB / 362.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.0002408/0.2144, allocations: 163.4 kB / 454.1 MB, free: 19.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.2156, allocations: 1.052 MB / 455.2 MB, free: 18.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2156, allocations: 1.5 kB / 455.2 MB, free: 18.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005188/0.2162, allocations: 0.5979 MB / 455.8 MB, free: 18.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.2166, allocations: 85.25 kB / 455.9 MB, free: 18.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.2189, allocations: 1.795 MB / 457.7 MB, free: 17.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.2193, allocations: 407.4 kB / 458.1 MB, free: 16.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.2195, allocations: 88.03 kB / 458.1 MB, free: 16.95 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2195, allocations: 0 / 458.1 MB, free: 16.95 MB / 362.7 MB Notification: Performance of Templates: time 0.01593/0.2355, allocations: 19.67 MB / 477.8 MB, free: 4.457 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.266466080211103]