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.007738/0.007738, allocations: 106.7 kB / 21.98 MB, free: 5.234 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.001525/0.001525, allocations: 218.5 kB / 25.29 MB, free: 3.223 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.539/1.539, allocations: 230.3 MB / 258.7 MB, free: 8.238 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.2497/0.2497, allocations: 46.89 MB / 362 MB, free: 4.559 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.002268/0.002268, allocations: 79.86 kB / 0.4978 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3938, allocations: 66.02 MB / 0.5623 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008871/0.4027, allocations: 6.605 MB / 0.5687 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.4077, allocations: 2.286 MB / 0.571 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004811/0.4082, allocations: 16 kB / 0.571 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.4117, allocations: 1.531 MB / 0.5725 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.4137, allocations: 0.7181 MB / 0.5732 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.415, allocations: 0.6006 MB / 0.5737 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.4165, allocations: 1.178 MB / 0.5749 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.4178, allocations: 0.7226 MB / 0.5756 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007486/0.4185, allocations: 0.506 MB / 0.5761 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007685/0.4193, allocations: 0.6186 MB / 0.5767 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.4195, allocations: 104 kB / 0.5768 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.4202, allocations: 295.8 kB / 0.5771 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.4204, allocations: 259 kB / 0.5773 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005555/0.421, allocations: 0.5558 MB / 0.5779 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.4229, allocations: 1.521 MB / 0.5794 GB, free: 3.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4229, allocations: 0 / 0.5794 GB, free: 3.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4229, allocations: 0 / 0.5794 GB, free: 3.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.4229, allocations: 8 kB / 0.5794 GB, free: 3.086 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.004303/0.4272, allocations: 1.684 MB / 0.581 GB, free: 1.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4273, allocations: 12.03 kB / 0.581 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0086/0.4359, allocations: 1.116 MB / 0.5821 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.4371, allocations: 0.5378 MB / 0.5826 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.592e-05/0.4372, allocations: 86.7 kB / 0.5827 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.4374, allocations: 116.3 kB / 0.5828 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.4402, allocations: 1.355 MB / 0.5842 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.4402, allocations: 3.984 kB / 0.5842 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.4404, allocations: 63.86 kB / 0.5842 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.4404, allocations: 28 kB / 0.5842 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.4433, allocations: 1.425 MB / 0.5856 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008458/0.4518, allocations: 5.628 MB / 0.5911 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003707/0.4555, allocations: 2.068 MB / 0.5932 GB, free: 4.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009655/0.4564, allocations: 388.8 kB / 0.5935 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.4567, allocations: 190.2 kB / 0.5937 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/0.4567, allocations: 54.48 kB / 0.5938 GB, free: 3.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.557e-06/0.4567, allocations: 0 / 0.5938 GB, free: 3.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.00342/0.4602, allocations: 1.248 MB / 0.595 GB, free: 2.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002178/0.4604, allocations: 243.3 kB / 0.5952 GB, free: 1.758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/0.4613, allocations: 0.5605 MB / 0.5958 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.4614, allocations: 45.64 kB / 0.5958 GB, free: 1.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.4618, allocations: 480 kB / 0.5963 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.4621, allocations: 313.4 kB / 0.5966 GB, free: 356 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/0.4624, allocations: 194.8 kB / 0.5967 GB, free: 156 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.4627, allocations: 374.8 kB / 0.5971 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000915/0.4636, allocations: 386.4 kB / 0.5975 GB, free: 15.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.4649, allocations: 0.6603 MB / 0.5981 GB, free: 14.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.467, allocations: 1.062 MB / 0.5991 GB, free: 13.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.467, allocations: 0 / 0.5991 GB, free: 13.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002844/0.4698, allocations: 1.196 MB / 0.6003 GB, free: 12.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.4699, allocations: 12 kB / 0.6003 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.4699, allocations: 8 kB / 0.6003 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.4701, allocations: 36.78 kB / 0.6004 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.4713, allocations: 292.1 kB / 0.6007 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.4713, allocations: 15.94 kB / 0.6007 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.4724, allocations: 159 kB / 0.6008 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.311e-05/0.4725, allocations: 55.97 kB / 0.6009 GB, free: 11.66 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.000515/0.473, allocations: 254.8 kB / 0.6011 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.4732, allocations: 71.58 kB / 0.6012 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.4758, allocations: 1.031 MB / 0.6022 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.4758, allocations: 11.94 kB / 0.6022 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4758, allocations: 7.984 kB / 0.6022 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.4758, allocations: 3.984 kB / 0.6022 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00467/0.4805, allocations: 2.314 MB / 0.6045 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.4805, allocations: 8 kB / 0.6045 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009818/0.4815, allocations: 215.7 kB / 0.6047 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.4816, allocations: 24.84 kB / 0.6047 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.4817, allocations: 27.98 kB / 0.6047 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.4817, allocations: 4 kB / 0.6047 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4817, allocations: 4 kB / 0.6047 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.4851, allocations: 1.835 MB / 0.6065 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.4854, allocations: 168.4 kB / 0.6067 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.4856, allocations: 20.09 kB / 0.6067 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007883/0.4864, allocations: 67.92 kB / 0.6068 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.4865, allocations: 87.72 kB / 0.6069 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.742e-05/0.4866, allocations: 31.92 kB / 0.6069 GB, free: 5.363 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005247/0.4871, allocations: 394.9 kB / 0.6073 GB, free: 4.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4871, allocations: 4 kB / 0.6073 GB, free: 4.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001191/0.4883, allocations: 287.4 kB / 0.6075 GB, free: 4.691 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.0002945/0.4886, allocations: 151 kB / 0.6077 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.4911, allocations: 0.9831 MB / 0.6087 GB, free: 3.531 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4911, allocations: 4 kB / 0.6087 GB, free: 3.527 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.4922, allocations: 0.5089 MB / 0.6092 GB, free: 3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000999/0.4932, allocations: 100.6 kB / 0.6092 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.4965, allocations: 1.758 MB / 0.611 GB, free: 1.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008299/0.4973, allocations: 0.9763 MB / 0.6119 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005463/0.4979, allocations: 138.2 kB / 0.6121 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.4981, allocations: 91.39 kB / 0.6121 GB, free: 15.88 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4981, allocations: 3.938 kB / 0.6121 GB, free: 15.88 MB / 462.1 MB Notification: Performance of Templates: time 0.02162/0.5197, allocations: 10.91 MB / 0.6228 GB, free: 4.992 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 -s gbode -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: 5.825751336989924]