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.001374/0.001374, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001571/0.001571, allocations: 212.4 kB / 23.73 MB, free: 4.16 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2333/0.2333, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.002213/0.002213, allocations: 67.89 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3554, allocations: 66.04 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.00797/0.3634, allocations: 5.788 MB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004864/0.3683, allocations: 2.123 MB / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004896/0.3688, allocations: 23.94 kB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.3724, allocations: 1.4 MB / 0.5702 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.3746, allocations: 0.7154 MB / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.3761, allocations: 0.5683 MB / 0.5715 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.3775, allocations: 1.171 MB / 0.5726 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.3788, allocations: 0.8467 MB / 0.5734 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006716/0.3795, allocations: 0.5176 MB / 0.5739 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006789/0.3802, allocations: 0.5483 MB / 0.5745 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.3804, allocations: 108 kB / 0.5746 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.3809, allocations: 279.8 kB / 0.5748 GB, free: 6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.3812, allocations: 255 kB / 0.5751 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004568/0.3816, allocations: 469.8 kB / 0.5755 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.3834, allocations: 1.529 MB / 0.577 GB, free: 3.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3834, allocations: 0 / 0.577 GB, free: 3.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3834, allocations: 3.938 kB / 0.577 GB, free: 3.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.3834, allocations: 0 / 0.577 GB, free: 3.75 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.004474/0.3879, allocations: 1.616 MB / 0.5786 GB, free: 2.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3879, allocations: 8.031 kB / 0.5786 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008688/0.3966, allocations: 1.124 MB / 0.5797 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.3978, allocations: 484.3 kB / 0.5802 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.784e-05/0.3979, allocations: 98.69 kB / 0.5803 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.3981, allocations: 112.4 kB / 0.5804 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/0.4011, allocations: 1.452 MB / 0.5818 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.4012, allocations: 0 / 0.5818 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.4013, allocations: 52 kB / 0.5818 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.4013, allocations: 28 kB / 0.5819 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/0.4043, allocations: 1.413 MB / 0.5832 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007132/0.4114, allocations: 3.525 MB / 0.5867 GB, free: 9.602 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.4144, allocations: 1.009 MB / 0.5877 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009214/0.4153, allocations: 392.7 kB / 0.588 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.4154, allocations: 31.97 kB / 0.5881 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.4155, allocations: 46.5 kB / 0.5881 GB, free: 8.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.815e-06/0.4155, allocations: 4 kB / 0.5881 GB, free: 8.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003271/0.4187, allocations: 1.152 MB / 0.5892 GB, free: 6.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.4189, allocations: 251.3 kB / 0.5895 GB, free: 6.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.4195, allocations: 449.3 kB / 0.5899 GB, free: 6.148 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.4195, allocations: 41.7 kB / 0.59 GB, free: 6.102 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.4199, allocations: 484 kB / 0.5904 GB, free: 5.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.4202, allocations: 309.4 kB / 0.5907 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.4206, allocations: 190.8 kB / 0.5909 GB, free: 5.125 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.4208, allocations: 374.8 kB / 0.5913 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009842/0.4218, allocations: 386.4 kB / 0.5916 GB, free: 4.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.4231, allocations: 0.7143 MB / 0.5923 GB, free: 3.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/0.4253, allocations: 1.058 MB / 0.5933 GB, free: 2.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.4254, allocations: 0 / 0.5933 GB, free: 2.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00286/0.4282, allocations: 1.191 MB / 0.5945 GB, free: 1.156 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.4282, allocations: 11.94 kB / 0.5945 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.4283, allocations: 8 kB / 0.5945 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.4285, allocations: 40.83 kB / 0.5946 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.4297, allocations: 288 kB / 0.5948 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.282e-05/0.4298, allocations: 19.92 kB / 0.5949 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.4308, allocations: 143.1 kB / 0.595 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/0.4309, allocations: 51.98 kB / 0.5951 GB, free: 0.6016 MB / 430.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.0005354/0.4314, allocations: 249.5 kB / 0.5953 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.4317, allocations: 63.62 kB / 0.5953 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.4343, allocations: 1.022 MB / 0.5963 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4343, allocations: 11.94 kB / 0.5964 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.4343, allocations: 4 kB / 0.5964 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4343, allocations: 7.984 kB / 0.5964 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/0.4386, allocations: 1.994 MB / 0.5983 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.4386, allocations: 0 / 0.5983 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.4396, allocations: 223.7 kB / 0.5985 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.4398, allocations: 28.83 kB / 0.5986 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/0.4398, allocations: 35.91 kB / 0.5986 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.4398, allocations: 8 kB / 0.5986 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4398, allocations: 4 kB / 0.5986 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/0.4433, allocations: 1.82 MB / 0.6004 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.4434, allocations: 67.42 kB / 0.6004 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.4435, allocations: 20.03 kB / 0.6005 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000776/0.4443, allocations: 63.94 kB / 0.6005 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.4445, allocations: 75.86 kB / 0.6006 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.4445, allocations: 27.98 kB / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003752/0.4449, allocations: 299.2 kB / 0.6009 GB, free: 10.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4449, allocations: 0 / 0.6009 GB, free: 10.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001148/0.446, allocations: 311.2 kB / 0.6012 GB, free: 10.21 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.0002962/0.4463, allocations: 155 kB / 0.6014 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002328/0.4487, allocations: 0.9058 MB / 0.6022 GB, free: 9.141 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.4487, allocations: 4 kB / 0.6022 GB, free: 9.137 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.4497, allocations: 448.8 kB / 0.6027 GB, free: 8.699 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009558/0.4507, allocations: 95.28 kB / 0.6028 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.4537, allocations: 1.743 MB / 0.6045 GB, free: 6.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.4541, allocations: 393.6 kB / 0.6048 GB, free: 6.406 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004991/0.4546, allocations: 129.4 kB / 0.605 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.4549, allocations: 83.39 kB / 0.605 GB, free: 6.199 MB / 446.1 MB Notification: Performance of SimCode: time 5.52e-07/0.4549, allocations: 0 / 0.605 GB, free: 6.199 MB / 446.1 MB Notification: Performance of Templates: time 0.01991/0.4748, allocations: 10.62 MB / 0.6154 GB, free: 11.69 MB / 462.1 MB " [Timeout remaining time 660] 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/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_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.76513946056366]