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.00169/0.00169, allocations: 120.8 kB / 18.45 MB, free: 4.594 MB / 14.72 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.001559/0.001559, allocations: 209 kB / 21.4 MB, free: 1.645 MB / 14.72 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.553/1.553, allocations: 227.4 MB / 251.6 MB, free: 44 kB / 190.1 MB " [Timeout remaining time 178] 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.2422/0.2422, allocations: 46.17 MB / 351.1 MB, free: 14.25 MB / 286.1 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 0.00223/0.00223, allocations: 80.67 kB / 490.2 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.137, allocations: 62.44 MB / 0.5397 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009835/0.1469, allocations: 7.504 MB / 0.547 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005093/0.152, allocations: 2.342 MB / 0.5493 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.1531, allocations: 27.94 kB / 0.5493 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004257/0.1574, allocations: 1.751 MB / 0.551 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.1601, allocations: 0.6943 MB / 0.5517 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.1619, allocations: 0.752 MB / 0.5524 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.1639, allocations: 1.241 MB / 0.5537 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.1658, allocations: 0.9378 MB / 0.5546 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.167, allocations: 0.5059 MB / 0.5551 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.1685, allocations: 0.6691 MB / 0.5557 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003015/0.1688, allocations: 104 kB / 0.5558 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.17, allocations: 299.8 kB / 0.5561 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003628/0.1704, allocations: 271 kB / 0.5564 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008816/0.1713, allocations: 0.6102 MB / 0.557 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.1741, allocations: 1.607 MB / 0.5585 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.1742, allocations: 3.938 kB / 0.5585 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1742, allocations: 3.938 kB / 0.5585 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.1742, allocations: 0 / 0.5585 GB, free: 0.7969 MB / 414.1 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.005731/0.18, allocations: 1.837 MB / 0.5603 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.18, allocations: 12.03 kB / 0.5603 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009494/0.1895, allocations: 1.268 MB / 0.5616 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.1913, allocations: 0.5648 MB / 0.5621 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.1914, allocations: 103 kB / 0.5622 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/0.1917, allocations: 136.1 kB / 0.5624 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.1946, allocations: 1.246 MB / 0.5636 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-05/0.1947, allocations: 7.984 kB / 0.5636 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.1949, allocations: 52 kB / 0.5636 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.1949, allocations: 36 kB / 0.5637 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.1978, allocations: 1.455 MB / 0.5651 GB, free: 9.965 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009905/0.2077, allocations: 5.822 MB / 0.5708 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.2099, allocations: 1.102 MB / 0.5719 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006464/0.2106, allocations: 376.2 kB / 0.5722 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.2108, allocations: 187.1 kB / 0.5724 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.2109, allocations: 51.56 kB / 0.5724 GB, free: 1.848 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.657e-06/0.2109, allocations: 0 / 0.5724 GB, free: 1.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.00265/0.2136, allocations: 1.211 MB / 0.5736 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.2136, allocations: 64.41 kB / 0.5737 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.215, allocations: 0.8248 MB / 0.5745 GB, free: 15.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-05/0.2151, allocations: 41.7 kB / 0.5745 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.2156, allocations: 0.5156 MB / 0.575 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.2159, allocations: 325.2 kB / 0.5753 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.2163, allocations: 202.8 kB / 0.5755 GB, free: 14.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002836/0.2166, allocations: 398.7 kB / 0.5759 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.2173, allocations: 350.5 kB / 0.5762 GB, free: 13.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009609/0.2183, allocations: 0.6147 MB / 0.5768 GB, free: 13.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.22, allocations: 1.003 MB / 0.5778 GB, free: 11.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.22, allocations: 4 kB / 0.5778 GB, free: 11.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002385/0.2224, allocations: 1.194 MB / 0.579 GB, free: 10.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.2224, allocations: 14.12 kB / 0.579 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.2225, allocations: 11.98 kB / 0.579 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.2228, allocations: 70.16 kB / 0.5791 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.2239, allocations: 263.6 kB / 0.5793 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.2266, allocations: 2.821 MB / 0.5821 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009956/0.2276, allocations: 162.7 kB / 0.5823 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-05/0.2277, allocations: 47.98 kB / 0.5823 GB, free: 7.113 MB / 446.1 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.0004654/0.2282, allocations: 261.6 kB / 0.5825 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.2284, allocations: 99.33 kB / 0.5826 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.2304, allocations: 1.103 MB / 0.5837 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.2304, allocations: 12 kB / 0.5837 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2305, allocations: 0 / 0.5837 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2305, allocations: 3.984 kB / 0.5837 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/0.2353, allocations: 3.174 MB / 0.5868 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.2353, allocations: 8 kB / 0.5868 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007803/0.2361, allocations: 183.7 kB / 0.587 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.2364, allocations: 62.28 kB / 0.5871 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-05/0.2365, allocations: 27.98 kB / 0.5871 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.2393, allocations: 2.824 MB / 0.5899 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/0.2393, allocations: 11.94 kB / 0.5899 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.242, allocations: 1.485 MB / 0.5913 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.2424, allocations: 204.3 kB / 0.5915 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.2426, allocations: 27.95 kB / 0.5915 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007674/0.2434, allocations: 51.91 kB / 0.5916 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.2436, allocations: 84.28 kB / 0.5917 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/0.2437, allocations: 35.98 kB / 0.5917 GB, free: 12.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000982/0.2447, allocations: 0.5849 MB / 0.5923 GB, free: 12.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2447, allocations: 0 / 0.5923 GB, free: 12.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001227/0.2459, allocations: 307.6 kB / 0.5926 GB, free: 11.82 MB / 462.1 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.0003769/0.2463, allocations: 163 kB / 0.5927 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.2487, allocations: 1.105 MB / 0.5938 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/0.2488, allocations: 4 kB / 0.5938 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.2499, allocations: 0.6224 MB / 0.5944 GB, free: 9.871 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.2511, allocations: 115.8 kB / 0.5945 GB, free: 9.762 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.2553, allocations: 1.867 MB / 0.5964 GB, free: 7.789 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009024/0.2562, allocations: 1.023 MB / 0.5974 GB, free: 6.738 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006801/0.2569, allocations: 155.7 kB / 0.5975 GB, free: 6.582 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.2572, allocations: 87.41 kB / 0.5976 GB, free: 6.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.2572, allocations: 0 / 0.5976 GB, free: 6.5 MB / 462.1 MB Notification: Performance of Templates: time 0.3501/0.6073, allocations: 10.53 MB / 0.6079 GB, free: 57.43 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.040611303411424]