Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.001546/0.001546, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 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.001807/0.001807, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.615/1.615, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.242/0.242, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1369, allocations: 66 MB / 0.5565 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008675/0.1455, allocations: 6.581 MB / 0.5629 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005033/0.1506, allocations: 2.263 MB / 0.5652 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1516, allocations: 23.94 kB / 0.5652 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003877/0.1555, allocations: 1.535 MB / 0.5667 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.1578, allocations: 0.7109 MB / 0.5674 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1594, allocations: 0.5956 MB / 0.5679 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.1612, allocations: 1.178 MB / 0.5691 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.1624, allocations: 0.7195 MB / 0.5698 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008272/0.1632, allocations: 0.5099 MB / 0.5703 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007677/0.164, allocations: 0.6225 MB / 0.5709 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.1642, allocations: 104 kB / 0.571 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006925/0.1649, allocations: 287.8 kB / 0.5713 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.1651, allocations: 263 kB / 0.5715 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005745/0.1657, allocations: 0.5559 MB / 0.5721 GB, free: 5.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.1677, allocations: 1.514 MB / 0.5736 GB, free: 3.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1677, allocations: 0 / 0.5736 GB, free: 3.773 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1677, allocations: 3.938 kB / 0.5736 GB, free: 3.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.643e-05/0.1678, allocations: 4 kB / 0.5736 GB, free: 3.766 MB / 430.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.004801/0.1726, allocations: 1.688 MB / 0.5752 GB, free: 2.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1726, allocations: 12.03 kB / 0.5752 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008688/0.1813, allocations: 1.12 MB / 0.5763 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.1825, allocations: 0.5377 MB / 0.5768 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.415e-05/0.1826, allocations: 86.69 kB / 0.5769 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.1828, allocations: 120.3 kB / 0.577 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.1856, allocations: 1.352 MB / 0.5784 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.1856, allocations: 3.938 kB / 0.5784 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.1858, allocations: 48 kB / 0.5784 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.1858, allocations: 28 kB / 0.5784 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/0.1889, allocations: 1.429 MB / 0.5798 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008436/0.1974, allocations: 5.628 MB / 0.5853 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003597/0.201, allocations: 2.08 MB / 0.5874 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009474/0.2019, allocations: 388.8 kB / 0.5877 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.2021, allocations: 202 kB / 0.5879 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.2022, allocations: 46.56 kB / 0.588 GB, free: 3.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.055e-06/0.2022, allocations: 0 / 0.588 GB, free: 3.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.003452/0.2056, allocations: 1.242 MB / 0.5892 GB, free: 2.723 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.2058, allocations: 243.3 kB / 0.5894 GB, free: 2.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.2066, allocations: 0.5683 MB / 0.59 GB, free: 1.848 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.2066, allocations: 41.7 kB / 0.59 GB, free: 1.801 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.207, allocations: 472.1 kB / 0.5905 GB, free: 1.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.2073, allocations: 309.4 kB / 0.5908 GB, free: 1.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.2076, allocations: 194.8 kB / 0.5909 GB, free: 0.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.2079, allocations: 382.7 kB / 0.5913 GB, free: 460 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009674/0.2088, allocations: 386.4 kB / 0.5917 GB, free: 72 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2694/0.4782, allocations: 0.6503 MB / 0.5923 GB, free: 33.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.4805, allocations: 1.062 MB / 0.5933 GB, free: 33.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.4805, allocations: 2.75 kB / 0.5933 GB, free: 33.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003149/0.4836, allocations: 1.199 MB / 0.5945 GB, free: 33.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.4836, allocations: 10.78 kB / 0.5945 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.4837, allocations: 8.719 kB / 0.5945 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.4839, allocations: 34.8 kB / 0.5946 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.4851, allocations: 288.7 kB / 0.5948 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.856e-05/0.4852, allocations: 23.92 kB / 0.5949 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.4862, allocations: 153.1 kB / 0.595 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.4864, allocations: 51.73 kB / 0.5951 GB, free: 33.16 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.000486/0.4868, allocations: 255.9 kB / 0.5953 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/0.4872, allocations: 75.12 kB / 0.5954 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.49, allocations: 1.027 MB / 0.5964 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.49, allocations: 14.83 kB / 0.5964 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.49, allocations: 2.438 kB / 0.5964 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.49, allocations: 5.781 kB / 0.5964 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004888/0.4949, allocations: 2.307 MB / 0.5987 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.4949, allocations: 1.062 kB / 0.5987 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.496, allocations: 223.9 kB / 0.5989 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.4961, allocations: 30.38 kB / 0.5989 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/0.4962, allocations: 24.67 kB / 0.5989 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.358e-05/0.4962, allocations: 8.719 kB / 0.5989 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4962, allocations: 2.281 kB / 0.5989 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/0.4998, allocations: 1.842 MB / 0.6007 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.5, allocations: 158.2 kB / 0.6009 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.5002, allocations: 22.97 kB / 0.6009 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009049/0.5011, allocations: 64.39 kB / 0.601 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.5013, allocations: 70.02 kB / 0.601 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-05/0.5014, allocations: 31.55 kB / 0.6011 GB, free: 30.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005776/0.502, allocations: 410.5 kB / 0.6015 GB, free: 30.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.502, allocations: 0 / 0.6015 GB, free: 30.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001367/0.5033, allocations: 292.9 kB / 0.6017 GB, free: 30.56 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.0003619/0.5037, allocations: 154.2 kB / 0.6019 GB, free: 30.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002638/0.5063, allocations: 0.9823 MB / 0.6028 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5063, allocations: 0 / 0.6028 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.5075, allocations: 0.5207 MB / 0.6033 GB, free: 29.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5088, allocations: 88.33 kB / 0.6034 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.5123, allocations: 1.786 MB / 0.6052 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.5129, allocations: 0.9823 MB / 0.6061 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.5134, allocations: 106.5 kB / 0.6062 GB, free: 27.99 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5134, allocations: 0 / 0.6062 GB, free: 27.99 MB / 446.1 MB Notification: Performance of Templates: time 0.02638/0.5397, allocations: 16.01 MB / 0.6219 GB, free: 22.05 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 9.376458271988668]