Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.002009/0.002009, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.002419/0.002419, allocations: 216.3 kB / 25.13 MB, free: 3.582 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.487/1.487, allocations: 230.2 MB / 258.5 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.244/0.244, allocations: 46.93 MB / 361.8 MB, free: 4.398 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-beta.om/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|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 75.88 kB / 0.4975 GB, free: 7.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3365, allocations: 66.05 MB / 0.562 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008295/0.3448, allocations: 6.561 MB / 0.5684 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.3493, allocations: 2.259 MB / 0.5706 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00059/0.3499, allocations: 16 kB / 0.5706 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003742/0.3537, allocations: 1.521 MB / 0.5721 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.3559, allocations: 0.7262 MB / 0.5728 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.3573, allocations: 0.5947 MB / 0.5734 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.359, allocations: 1.186 MB / 0.5746 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.3604, allocations: 0.7158 MB / 0.5753 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007637/0.3611, allocations: 0.506 MB / 0.5758 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000791/0.3619, allocations: 0.6264 MB / 0.5764 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.3621, allocations: 104 kB / 0.5765 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007385/0.3628, allocations: 287.8 kB / 0.5767 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.363, allocations: 263 kB / 0.577 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006133/0.3636, allocations: 0.5598 MB / 0.5775 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.3658, allocations: 1.51 MB / 0.579 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3658, allocations: 0 / 0.579 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3658, allocations: 0 / 0.579 GB, free: 3.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.3658, allocations: 0 / 0.579 GB, free: 3.012 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.004412/0.3702, allocations: 1.612 MB / 0.5806 GB, free: 1.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3702, allocations: 8.031 kB / 0.5806 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008261/0.3785, allocations: 1.132 MB / 0.5817 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.3799, allocations: 484.4 kB / 0.5822 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/0.38, allocations: 86.7 kB / 0.5822 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.3802, allocations: 116.4 kB / 0.5824 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.3829, allocations: 1.352 MB / 0.5837 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.383, allocations: 4 kB / 0.5837 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.3831, allocations: 48 kB / 0.5837 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.3831, allocations: 31.94 kB / 0.5838 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.386, allocations: 1.433 MB / 0.5852 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007217/0.3932, allocations: 4.007 MB / 0.5891 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.3961, allocations: 1.019 MB / 0.5901 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008797/0.397, allocations: 383.3 kB / 0.5904 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.3971, allocations: 47.86 kB / 0.5905 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.3972, allocations: 50.5 kB / 0.5905 GB, free: 6.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.765e-06/0.3972, allocations: 0 / 0.5905 GB, free: 6.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003271/0.4005, allocations: 1.169 MB / 0.5917 GB, free: 5.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.4006, allocations: 247.3 kB / 0.5919 GB, free: 5.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007404/0.4013, allocations: 0.5644 MB / 0.5925 GB, free: 4.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.4014, allocations: 41.7 kB / 0.5925 GB, free: 4.809 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.4018, allocations: 468.1 kB / 0.5929 GB, free: 4.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.4021, allocations: 321.3 kB / 0.5932 GB, free: 4.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.4024, allocations: 194.8 kB / 0.5934 GB, free: 3.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.4026, allocations: 378.7 kB / 0.5938 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009536/0.4036, allocations: 382.4 kB / 0.5942 GB, free: 3.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.4048, allocations: 0.6719 MB / 0.5948 GB, free: 2.281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.4069, allocations: 1.046 MB / 0.5958 GB, free: 1.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.4069, allocations: 4 kB / 0.5958 GB, free: 1.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002702/0.4096, allocations: 1.204 MB / 0.597 GB, free: 15.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.4096, allocations: 8 kB / 0.597 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.4096, allocations: 8 kB / 0.597 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.4098, allocations: 40.83 kB / 0.5971 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.411, allocations: 284.1 kB / 0.5973 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.537e-05/0.411, allocations: 27.86 kB / 0.5974 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.4119, allocations: 151.1 kB / 0.5975 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.412, allocations: 47.98 kB / 0.5976 GB, free: 15.34 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.0004201/0.4125, allocations: 249.5 kB / 0.5978 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.4127, allocations: 75.58 kB / 0.5979 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.4152, allocations: 1.039 MB / 0.5989 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.4152, allocations: 12 kB / 0.5989 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4152, allocations: 0 / 0.5989 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.4152, allocations: 7.984 kB / 0.5989 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.4197, allocations: 2.271 MB / 0.6011 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.4197, allocations: 7.938 kB / 0.6011 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.4207, allocations: 219.7 kB / 0.6013 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.4208, allocations: 32.78 kB / 0.6014 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/0.4209, allocations: 23.98 kB / 0.6014 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.4209, allocations: 4 kB / 0.6014 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4209, allocations: 4 kB / 0.6014 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/0.4243, allocations: 1.847 MB / 0.6032 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.4245, allocations: 83.38 kB / 0.6033 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.4247, allocations: 24 kB / 0.6033 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008177/0.4255, allocations: 63.92 kB / 0.6034 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.4257, allocations: 71.81 kB / 0.6034 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.4257, allocations: 35.92 kB / 0.6035 GB, free: 9.188 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005251/0.4262, allocations: 398.8 kB / 0.6038 GB, free: 8.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4262, allocations: 0 / 0.6038 GB, free: 8.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001151/0.4274, allocations: 295.4 kB / 0.6041 GB, free: 8.508 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.0002772/0.4277, allocations: 155 kB / 0.6043 GB, free: 8.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.4299, allocations: 0.912 MB / 0.6052 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4299, allocations: 0 / 0.6052 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.431, allocations: 436.9 kB / 0.6056 GB, free: 7.008 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.432, allocations: 105.3 kB / 0.6057 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.4352, allocations: 1.75 MB / 0.6074 GB, free: 5.109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.4359, allocations: 0.9801 MB / 0.6084 GB, free: 4.102 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005759/0.4365, allocations: 134.2 kB / 0.6085 GB, free: 3.969 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.4367, allocations: 91.39 kB / 0.6086 GB, free: 3.883 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4367, allocations: 3.938 kB / 0.6086 GB, free: 3.879 MB / 446.1 MB Notification: Performance of Templates: time 0.02393/0.4606, allocations: 10.92 MB / 0.6192 GB, free: 8.988 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 5.762146648005]