Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.00145/0.001449, allocations: 120.9 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.001601/0.001601, allocations: 202.6 kB / 22.08 MB, free: 0.9766 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.427/1.427, allocations: 227.5 MB / 252.4 MB, free: 240 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.2236/0.2236, allocations: 46.14 MB / 351.8 MB, free: 14.29 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.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|iL|iLL|vC|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|iL|iLL|vC|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 80.95 kB / 490.9 MB, free: 28.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.111, allocations: 62.45 MB / 0.5404 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007841/0.1189, allocations: 6.552 MB / 0.5467 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.123, allocations: 2.251 MB / 0.5489 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.1235, allocations: 20 kB / 0.549 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.1268, allocations: 1.534 MB / 0.5505 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.1285, allocations: 0.6983 MB / 0.5511 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1298, allocations: 0.587 MB / 0.5517 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.1312, allocations: 1.178 MB / 0.5529 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.1326, allocations: 0.942 MB / 0.5538 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.1333, allocations: 0.502 MB / 0.5543 GB, free: 6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007112/0.134, allocations: 0.6147 MB / 0.5549 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.1342, allocations: 108 kB / 0.555 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.1348, allocations: 291.8 kB / 0.5553 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.135, allocations: 259.1 kB / 0.5555 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.1356, allocations: 0.5636 MB / 0.5561 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.1373, allocations: 1.514 MB / 0.5575 GB, free: 2.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1373, allocations: 0 / 0.5575 GB, free: 2.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1373, allocations: 0 / 0.5575 GB, free: 2.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1373, allocations: 0 / 0.5575 GB, free: 2.652 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004202/0.1415, allocations: 1.688 MB / 0.5592 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1416, allocations: 11.97 kB / 0.5592 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008405/0.15, allocations: 1.124 MB / 0.5603 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009803/0.151, allocations: 0.5415 MB / 0.5608 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/0.1511, allocations: 86.7 kB / 0.5609 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.1513, allocations: 116.4 kB / 0.561 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.1539, allocations: 1.356 MB / 0.5623 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.154, allocations: 4 kB / 0.5623 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.1541, allocations: 48 kB / 0.5624 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.1541, allocations: 32 kB / 0.5624 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.1571, allocations: 1.429 MB / 0.5638 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007833/0.1649, allocations: 5.628 MB / 0.5693 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.1685, allocations: 2.149 MB / 0.5714 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009484/0.1695, allocations: 428.7 kB / 0.5718 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.1697, allocations: 190.2 kB / 0.572 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.1697, allocations: 42.56 kB / 0.572 GB, free: 2.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 4.618e-06/0.1697, allocations: 4 kB / 0.572 GB, free: 2.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003325/0.1731, allocations: 1.24 MB / 0.5733 GB, free: 1.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.1732, allocations: 255.3 kB / 0.5735 GB, free: 1.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.174, allocations: 0.5605 MB / 0.574 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.174, allocations: 45.64 kB / 0.5741 GB, free: 0.582 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.1744, allocations: 472 kB / 0.5745 GB, free: 116 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.1746, allocations: 309.5 kB / 0.5748 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.1749, allocations: 190.8 kB / 0.575 GB, free: 15.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.1751, allocations: 382.7 kB / 0.5754 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009511/0.1761, allocations: 386.4 kB / 0.5758 GB, free: 14.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.1773, allocations: 0.6603 MB / 0.5764 GB, free: 14.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.1795, allocations: 1.059 MB / 0.5774 GB, free: 12.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.1795, allocations: 4 kB / 0.5774 GB, free: 12.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002718/0.1822, allocations: 1.2 MB / 0.5786 GB, free: 11.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.1823, allocations: 8 kB / 0.5786 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.1823, allocations: 12.06 kB / 0.5786 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.1825, allocations: 40.83 kB / 0.5787 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.1836, allocations: 287.5 kB / 0.5789 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.551e-05/0.1837, allocations: 27.86 kB / 0.579 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008879/0.1846, allocations: 159 kB / 0.5791 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.353e-05/0.1846, allocations: 47.98 kB / 0.5792 GB, free: 11.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003978/0.185, allocations: 249.5 kB / 0.5794 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.1853, allocations: 71.58 kB / 0.5795 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.1878, allocations: 1.039 MB / 0.5805 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.1878, allocations: 12 kB / 0.5805 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1878, allocations: 0 / 0.5805 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.1879, allocations: 7.984 kB / 0.5805 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004237/0.1921, allocations: 2.315 MB / 0.5828 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.1921, allocations: 3.938 kB / 0.5828 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000976/0.1931, allocations: 215.7 kB / 0.583 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.96e-05/0.1932, allocations: 28.84 kB / 0.583 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/0.1933, allocations: 27.98 kB / 0.583 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.1933, allocations: 11.94 kB / 0.583 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.1933, allocations: 3.984 kB / 0.583 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/0.1967, allocations: 1.831 MB / 0.5848 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.1969, allocations: 164.4 kB / 0.585 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.197, allocations: 20 kB / 0.585 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008044/0.1978, allocations: 63.94 kB / 0.5851 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.198, allocations: 67.89 kB / 0.5851 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-05/0.1981, allocations: 35.86 kB / 0.5852 GB, free: 4.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000505/0.1986, allocations: 398.9 kB / 0.5855 GB, free: 4.449 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1986, allocations: 0 / 0.5855 GB, free: 4.449 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001032/0.1996, allocations: 299.3 kB / 0.5858 GB, free: 4.156 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma,currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.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): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002747/0.1999, allocations: 159 kB / 0.586 GB, free: 3.988 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.2023, allocations: 1.023 MB / 0.587 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2023, allocations: 0 / 0.587 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.2034, allocations: 0.5447 MB / 0.5875 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009662/0.2044, allocations: 109.2 kB / 0.5876 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.2073, allocations: 1.782 MB / 0.5894 GB, free: 452 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.208, allocations: 0.9801 MB / 0.5903 GB, free: 15.44 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.2084, allocations: 103.4 kB / 0.5904 GB, free: 15.34 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2084, allocations: 4 kB / 0.5904 GB, free: 15.34 MB / 462.1 MB Notification: Performance of Templates: time 0.2451/0.4535, allocations: 15.61 MB / 0.6057 GB, free: 59.31 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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: 8.480416032020003]