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.001663/0.001663, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002543/0.002543, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.516/1.516, allocations: 230.3 MB / 258 MB, free: 8.207 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.2512/0.2512, allocations: 46.94 MB / 361.4 MB, free: 4.379 MB / 286.1 MB " [Timeout remaining time 179] 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.002426/0.002426, allocations: 79.88 kB / 0.4972 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3958, allocations: 66.03 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008858/0.4047, allocations: 6.609 MB / 0.5681 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005115/0.4098, allocations: 2.286 MB / 0.5703 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005335/0.4103, allocations: 20 kB / 0.5704 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003681/0.414, allocations: 1.521 MB / 0.5718 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.4162, allocations: 0.7215 MB / 0.5725 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.4177, allocations: 0.5989 MB / 0.5731 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.4193, allocations: 1.178 MB / 0.5743 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.4207, allocations: 0.7188 MB / 0.575 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008233/0.4215, allocations: 0.5138 MB / 0.5755 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007434/0.4223, allocations: 0.6186 MB / 0.5761 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.4224, allocations: 108 kB / 0.5762 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007204/0.4231, allocations: 287.8 kB / 0.5765 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.4234, allocations: 267 kB / 0.5767 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005901/0.424, allocations: 0.5597 MB / 0.5773 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.4259, allocations: 1.514 MB / 0.5787 GB, free: 2.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4259, allocations: 0 / 0.5787 GB, free: 2.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4259, allocations: 0 / 0.5787 GB, free: 2.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.4259, allocations: 0 / 0.5787 GB, free: 2.922 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.004278/0.4302, allocations: 1.616 MB / 0.5803 GB, free: 1.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4302, allocations: 8.031 kB / 0.5803 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008162/0.4384, allocations: 1.124 MB / 0.5814 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.4396, allocations: 480.3 kB / 0.5819 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.4397, allocations: 94.64 kB / 0.582 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.4399, allocations: 116.4 kB / 0.5821 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.4427, allocations: 1.352 MB / 0.5834 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.4427, allocations: 7.938 kB / 0.5834 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.4428, allocations: 48 kB / 0.5835 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.4429, allocations: 32 kB / 0.5835 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/0.4458, allocations: 1.429 MB / 0.5849 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007421/0.4532, allocations: 4.031 MB / 0.5888 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.4562, allocations: 1.023 MB / 0.5898 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008895/0.4571, allocations: 388.8 kB / 0.5902 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.4572, allocations: 35.91 kB / 0.5902 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/0.4572, allocations: 50.55 kB / 0.5903 GB, free: 6.789 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.186e-06/0.4572, allocations: 0 / 0.5903 GB, free: 6.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003304/0.4605, allocations: 1.174 MB / 0.5914 GB, free: 5.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/0.4607, allocations: 251.2 kB / 0.5917 GB, free: 5.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/0.4616, allocations: 0.5644 MB / 0.5922 GB, free: 4.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.4617, allocations: 37.7 kB / 0.5923 GB, free: 4.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.462, allocations: 472 kB / 0.5927 GB, free: 4.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.4623, allocations: 313.3 kB / 0.593 GB, free: 3.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.4626, allocations: 194.8 kB / 0.5932 GB, free: 3.715 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.4629, allocations: 386.7 kB / 0.5936 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009058/0.4638, allocations: 382.4 kB / 0.5939 GB, free: 2.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.4649, allocations: 0.6603 MB / 0.5946 GB, free: 2.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.4671, allocations: 1.058 MB / 0.5956 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.4671, allocations: 4 kB / 0.5956 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002786/0.4699, allocations: 1.204 MB / 0.5968 GB, free: 15.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.4699, allocations: 8 kB / 0.5968 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.4699, allocations: 8 kB / 0.5968 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.4701, allocations: 36.83 kB / 0.5968 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.4713, allocations: 291.5 kB / 0.5971 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-05/0.4713, allocations: 28.06 kB / 0.5971 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008851/0.4722, allocations: 147.1 kB / 0.5973 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.4723, allocations: 47.98 kB / 0.5973 GB, free: 15.21 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.0004996/0.4728, allocations: 253.5 kB / 0.5976 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.473, allocations: 71.58 kB / 0.5976 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.4755, allocations: 1.032 MB / 0.5986 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.4755, allocations: 15.98 kB / 0.5987 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4755, allocations: 4 kB / 0.5987 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.4756, allocations: 7.969 kB / 0.5987 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/0.48, allocations: 2.283 MB / 0.6009 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.4801, allocations: 7.938 kB / 0.6009 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009979/0.4811, allocations: 215.7 kB / 0.6011 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.4812, allocations: 28.84 kB / 0.6011 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.4812, allocations: 23.98 kB / 0.6012 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.4812, allocations: 4 kB / 0.6012 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/0.4813, allocations: 11.94 kB / 0.6012 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.4847, allocations: 1.831 MB / 0.603 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.4849, allocations: 95.38 kB / 0.6031 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.485, allocations: 23.92 kB / 0.6031 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/0.4858, allocations: 59.94 kB / 0.6031 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.486, allocations: 71.86 kB / 0.6032 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/0.486, allocations: 35.92 kB / 0.6032 GB, free: 9.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005781/0.4866, allocations: 402.8 kB / 0.6036 GB, free: 8.668 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4866, allocations: 0 / 0.6036 GB, free: 8.668 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001137/0.4878, allocations: 291.4 kB / 0.6039 GB, free: 8.383 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.0003063/0.4881, allocations: 151 kB / 0.604 GB, free: 8.227 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.4904, allocations: 0.9084 MB / 0.6049 GB, free: 7.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4904, allocations: 0 / 0.6049 GB, free: 7.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.4915, allocations: 432.3 kB / 0.6053 GB, free: 6.895 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009949/0.4925, allocations: 102.5 kB / 0.6054 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.4958, allocations: 1.769 MB / 0.6072 GB, free: 4.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.4965, allocations: 0.9802 MB / 0.6081 GB, free: 3.973 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005486/0.497, allocations: 138.2 kB / 0.6083 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.4973, allocations: 79.41 kB / 0.6083 GB, free: 3.762 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4973, allocations: 4 kB / 0.6083 GB, free: 3.758 MB / 446.1 MB Notification: Performance of Templates: time 0.02136/0.5186, allocations: 10.92 MB / 0.619 GB, free: 8.875 MB / 462.1 MB " [Timeout remaining time 659] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/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.700033409520984]