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.001603/0.001603, allocations: 111.8 kB / 19.13 MB, free: 3.922 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.001855/0.001856, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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.598/1.598, allocations: 227.4 MB / 252.3 MB, free: 80 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.2578/0.2578, allocations: 46.17 MB / 351.8 MB, free: 14.27 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.002151/0.002151, allocations: 76.77 kB / 490.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1263, allocations: 62.46 MB / 0.5404 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009815/0.1362, allocations: 7.498 MB / 0.5477 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005316/0.1415, allocations: 2.346 MB / 0.55 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008517/0.1424, allocations: 27.94 kB / 0.55 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004238/0.1467, allocations: 1.751 MB / 0.5517 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.1492, allocations: 0.6933 MB / 0.5524 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.151, allocations: 0.7495 MB / 0.5531 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.1528, allocations: 1.241 MB / 0.5543 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.1543, allocations: 0.9339 MB / 0.5552 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007919/0.1551, allocations: 0.5059 MB / 0.5557 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007904/0.1559, allocations: 0.6691 MB / 0.5564 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.1561, allocations: 104 kB / 0.5565 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00078/0.1569, allocations: 307.8 kB / 0.5568 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.1572, allocations: 270.9 kB / 0.557 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006249/0.1578, allocations: 0.6025 MB / 0.5576 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.16, allocations: 1.615 MB / 0.5592 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.16, allocations: 0 / 0.5592 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.16, allocations: 0 / 0.5592 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.053e-05/0.16, allocations: 0 / 0.5592 GB, free: 0.8281 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.004814/0.1649, allocations: 1.837 MB / 0.561 GB, free: 14.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1649, allocations: 12.03 kB / 0.561 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009524/0.1744, allocations: 1.268 MB / 0.5622 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.1758, allocations: 0.5687 MB / 0.5628 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.1759, allocations: 99.03 kB / 0.5629 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.1761, allocations: 140 kB / 0.563 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.1786, allocations: 1.249 MB / 0.5642 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.379e-05/0.1786, allocations: 4 kB / 0.5643 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.1788, allocations: 56 kB / 0.5643 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.1788, allocations: 32 kB / 0.5643 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.1814, allocations: 1.451 MB / 0.5658 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00882/0.1902, allocations: 5.819 MB / 0.5714 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.1922, allocations: 1.11 MB / 0.5725 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/0.1928, allocations: 372.2 kB / 0.5729 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.193, allocations: 191.2 kB / 0.5731 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.1931, allocations: 43.56 kB / 0.5731 GB, free: 1.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.314e-06/0.1931, allocations: 0 / 0.5731 GB, free: 1.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002447/0.1956, allocations: 1.214 MB / 0.5743 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1956, allocations: 60.41 kB / 0.5743 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.1967, allocations: 0.8287 MB / 0.5751 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.1968, allocations: 41.7 kB / 0.5752 GB, free: 15.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.1972, allocations: 0.5039 MB / 0.5757 GB, free: 15.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.1975, allocations: 329.2 kB / 0.576 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.1978, allocations: 202.8 kB / 0.5762 GB, free: 14.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.1981, allocations: 410.7 kB / 0.5766 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006567/0.1987, allocations: 350.4 kB / 0.5769 GB, free: 13.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008982/0.1996, allocations: 0.6186 MB / 0.5775 GB, free: 13.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.2012, allocations: 0.9875 MB / 0.5785 GB, free: 12.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2012, allocations: 7.938 kB / 0.5785 GB, free: 12.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002255/0.2035, allocations: 1.193 MB / 0.5797 GB, free: 10.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.2035, allocations: 18.88 kB / 0.5797 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2035, allocations: 8 kB / 0.5797 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003034/0.2038, allocations: 73.61 kB / 0.5798 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.2049, allocations: 263.6 kB / 0.58 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.2073, allocations: 2.818 MB / 0.5828 GB, free: 7.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009665/0.2083, allocations: 166.8 kB / 0.5829 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.2084, allocations: 51.98 kB / 0.583 GB, free: 7.141 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.0004463/0.2089, allocations: 265.5 kB / 0.5832 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.209, allocations: 99.33 kB / 0.5833 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.211, allocations: 1.103 MB / 0.5844 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.211, allocations: 12 kB / 0.5844 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2111, allocations: 4 kB / 0.5844 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.2111, allocations: 3.984 kB / 0.5844 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/0.2154, allocations: 3.17 MB / 0.5875 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.2154, allocations: 8 kB / 0.5875 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007444/0.2162, allocations: 176.6 kB / 0.5877 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.2164, allocations: 69.61 kB / 0.5877 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.2165, allocations: 27.98 kB / 0.5878 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.2188, allocations: 2.824 MB / 0.5905 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.2188, allocations: 7.938 kB / 0.5905 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.2213, allocations: 1.485 MB / 0.592 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.2215, allocations: 204.2 kB / 0.5922 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.2217, allocations: 31.95 kB / 0.5922 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/0.2224, allocations: 47.97 kB / 0.5923 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.2225, allocations: 88.34 kB / 0.5923 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.2226, allocations: 28 kB / 0.5924 GB, free: 12.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007914/0.2234, allocations: 0.5771 MB / 0.5929 GB, free: 12.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2234, allocations: 4 kB / 0.5929 GB, free: 12.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001002/0.2244, allocations: 319.5 kB / 0.5932 GB, free: 11.85 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.0003076/0.2247, allocations: 163 kB / 0.5934 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.2268, allocations: 1.093 MB / 0.5945 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.2268, allocations: 4.562 kB / 0.5945 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.2278, allocations: 0.6305 MB / 0.5951 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.2287, allocations: 127.2 kB / 0.5952 GB, free: 9.777 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.232, allocations: 1.896 MB / 0.5971 GB, free: 7.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.2327, allocations: 1.012 MB / 0.598 GB, free: 6.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.2331, allocations: 107.4 kB / 0.5981 GB, free: 6.629 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2331, allocations: 4 kB / 0.5982 GB, free: 6.625 MB / 462.1 MB Notification: Performance of Templates: time 0.3079/0.541, allocations: 21.48 MB / 0.6191 GB, free: 53.89 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.50827820901759]