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.001446/0.001446, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001522/0.001522, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.61/1.61, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.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.264/0.264, allocations: 46.9 MB / 361.3 MB, free: 4.465 MB / 286.1 MB " [Timeout remaining time 179] 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.003466/0.003466, allocations: 75.88 kB / 0.497 GB, free: 7.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4166, allocations: 66.03 MB / 0.5615 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008709/0.4253, allocations: 6.607 MB / 0.568 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004884/0.4302, allocations: 2.282 MB / 0.5702 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.4308, allocations: 20 kB / 0.5702 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003589/0.4344, allocations: 1.535 MB / 0.5717 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003076/0.4374, allocations: 0.7155 MB / 0.5724 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.4396, allocations: 0.5952 MB / 0.573 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.4414, allocations: 1.178 MB / 0.5742 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.4428, allocations: 0.7236 MB / 0.5749 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.4439, allocations: 0.5021 MB / 0.5754 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.4451, allocations: 0.6225 MB / 0.576 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.4454, allocations: 107.9 kB / 0.5761 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009295/0.4464, allocations: 295.8 kB / 0.5763 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.4467, allocations: 263 kB / 0.5766 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009214/0.4476, allocations: 0.5481 MB / 0.5771 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.4497, allocations: 1.525 MB / 0.5786 GB, free: 3.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4497, allocations: 0 / 0.5786 GB, free: 3.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4497, allocations: 0 / 0.5786 GB, free: 3.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.4497, allocations: 0 / 0.5786 GB, free: 3.07 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.004572/0.4543, allocations: 1.612 MB / 0.5802 GB, free: 1.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4543, allocations: 16.03 kB / 0.5802 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008461/0.4628, allocations: 1.116 MB / 0.5813 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.4639, allocations: 496.3 kB / 0.5818 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.641e-05/0.464, allocations: 82.7 kB / 0.5819 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.4642, allocations: 116.4 kB / 0.582 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.4669, allocations: 1.352 MB / 0.5833 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.4669, allocations: 4 kB / 0.5833 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.467, allocations: 48 kB / 0.5833 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.4671, allocations: 35.94 kB / 0.5834 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/0.4701, allocations: 1.429 MB / 0.5848 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007317/0.4774, allocations: 4.027 MB / 0.5887 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.4805, allocations: 1.033 MB / 0.5897 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009515/0.4814, allocations: 388.8 kB / 0.5901 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.4816, allocations: 39.94 kB / 0.5901 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.4816, allocations: 46.5 kB / 0.5902 GB, free: 6.934 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.495e-06/0.4816, allocations: 3.938 kB / 0.5902 GB, free: 6.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003619/0.4852, allocations: 1.169 MB / 0.5913 GB, free: 5.754 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.4854, allocations: 243.3 kB / 0.5915 GB, free: 5.461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000754/0.4861, allocations: 0.5684 MB / 0.5921 GB, free: 4.883 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.388e-05/0.4862, allocations: 41.7 kB / 0.5921 GB, free: 4.836 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.4866, allocations: 472.1 kB / 0.5926 GB, free: 4.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.4869, allocations: 305.3 kB / 0.5929 GB, free: 4.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/0.4872, allocations: 202.8 kB / 0.5931 GB, free: 3.859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.4874, allocations: 382.6 kB / 0.5934 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/0.4884, allocations: 382.4 kB / 0.5938 GB, free: 3.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.4897, allocations: 0.6603 MB / 0.5944 GB, free: 2.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.4919, allocations: 1.062 MB / 0.5955 GB, free: 1.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.4919, allocations: 4 kB / 0.5955 GB, free: 1.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002876/0.4948, allocations: 1.196 MB / 0.5966 GB, free: 15.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.4948, allocations: 8 kB / 0.5967 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.4948, allocations: 8.688 kB / 0.5967 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.495, allocations: 44.84 kB / 0.5967 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.4962, allocations: 283.5 kB / 0.597 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.4963, allocations: 23.88 kB / 0.597 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/0.4972, allocations: 147.1 kB / 0.5971 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.4973, allocations: 55.97 kB / 0.5972 GB, free: 15.37 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.0004469/0.4978, allocations: 253.5 kB / 0.5974 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.498, allocations: 71.56 kB / 0.5975 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.5006, allocations: 1.035 MB / 0.5985 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.5006, allocations: 12 kB / 0.5985 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5007, allocations: 0 / 0.5985 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.5007, allocations: 7.984 kB / 0.5985 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/0.5054, allocations: 2.29 MB / 0.6008 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.5054, allocations: 3.938 kB / 0.6008 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.5064, allocations: 215.7 kB / 0.601 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.5065, allocations: 24.84 kB / 0.601 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.5066, allocations: 27.98 kB / 0.601 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.5066, allocations: 4 kB / 0.601 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5066, allocations: 4 kB / 0.601 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/0.5102, allocations: 1.839 MB / 0.6028 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.5104, allocations: 95.27 kB / 0.6029 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.5106, allocations: 20 kB / 0.6029 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/0.5114, allocations: 63.94 kB / 0.603 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.5116, allocations: 75.8 kB / 0.6031 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.5116, allocations: 35.92 kB / 0.6031 GB, free: 9.207 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005277/0.5122, allocations: 394.8 kB / 0.6035 GB, free: 8.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5122, allocations: 0 / 0.6035 GB, free: 8.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001128/0.5133, allocations: 291.4 kB / 0.6038 GB, free: 8.535 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.0003108/0.5136, allocations: 155 kB / 0.6039 GB, free: 8.375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00241/0.516, allocations: 0.9075 MB / 0.6048 GB, free: 7.469 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.516, allocations: 0 / 0.6048 GB, free: 7.469 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.5171, allocations: 444.2 kB / 0.6052 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009717/0.5181, allocations: 94.27 kB / 0.6053 GB, free: 6.941 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.5212, allocations: 1.758 MB / 0.607 GB, free: 5.137 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/0.5218, allocations: 0.9802 MB / 0.608 GB, free: 4.129 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.5224, allocations: 142.2 kB / 0.6081 GB, free: 3.988 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.5226, allocations: 91.39 kB / 0.6082 GB, free: 3.902 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5226, allocations: 0 / 0.6082 GB, free: 3.902 MB / 446.1 MB Notification: Performance of Templates: time 0.02118/0.5438, allocations: 10.92 MB / 0.6189 GB, free: 9.012 MB / 462.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/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: 6.09674662258476]