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.0006738/0.0006738, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001739, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008989/0.0008989, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00711/0.008009, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9835/0.9835, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1058/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.2564/0.2564, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02385/0.2802, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.7 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 1.503e-06/1.503e-06, allocations: 0 / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.483e-05, allocations: 5.141 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.005702/0.005727, allocations: 6.317 MB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004251/0.009978, allocations: 2.275 MB / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.01117, allocations: 20 kB / 301.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.014, allocations: 1.613 MB / 303 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.01681, allocations: 0.7105 MB / 303.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.01871, allocations: 0.581 MB / 304.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.02043, allocations: 1.218 MB / 305.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.02165, allocations: 0.8319 MB / 306.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009875/0.02264, allocations: 0.7669 MB / 307.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006735/0.02331, allocations: 0.4909 MB / 307.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.0235, allocations: 108 kB / 307.8 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006833/0.02419, allocations: 299.6 kB / 308 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.02431, allocations: 191.4 kB / 308.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.02461, allocations: 311.4 kB / 308.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.02565, allocations: 0.9183 MB / 309.5 MB, free: 5.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.498e-05/0.02567, allocations: 0 / 309.5 MB, free: 5.492 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.02567, allocations: 4 kB / 309.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.102e-05/0.0257, allocations: 0 / 309.5 MB, free: 5.488 MB / 298.7 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.003159/0.02886, allocations: 1.921 MB / 311.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.02889, allocations: 15.97 kB / 311.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/0.0336, allocations: 1.557 MB / 313 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.03442, allocations: 307.8 kB / 313.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.03448, allocations: 90.7 kB / 313.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.03463, allocations: 112.4 kB / 313.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.03578, allocations: 1.027 MB / 314.5 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.03582, allocations: 8.141 kB / 314.5 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.03589, allocations: 44.38 kB / 314.5 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.0359, allocations: 35.94 kB / 314.6 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.03658, allocations: 0.5356 MB / 315.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.04008, allocations: 2.831 MB / 317.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.04133, allocations: 0.8638 MB / 318.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.0415, allocations: 164.3 kB / 319 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.954e-05/0.04157, allocations: 35.89 kB / 319 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.0416, allocations: 59.3 kB / 319.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 2.886e-06/0.04161, allocations: 0 / 319.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.0008292/0.04244, allocations: 479.1 kB / 319.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.04251, allocations: 187.9 kB / 319.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.04276, allocations: 374.9 kB / 320.1 MB, free: 10.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.0428, allocations: 41.7 kB / 320.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.04298, allocations: 468.3 kB / 320.6 MB, free: 9.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.04313, allocations: 305.6 kB / 320.9 MB, free: 9.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.0433, allocations: 190.8 kB / 321.1 MB, free: 9.488 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.0434, allocations: 370.7 kB / 321.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.04353, allocations: 102.6 kB / 321.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.04383, allocations: 463.6 kB / 322 MB, free: 8.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.04438, allocations: 0.6321 MB / 322.6 MB, free: 7.684 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.04439, allocations: 4 kB / 322.6 MB, free: 7.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0006419/0.04503, allocations: 0.5678 MB / 323.2 MB, free: 7.105 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.04505, allocations: 8 kB / 323.2 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.04507, allocations: 11.94 kB / 323.2 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.134e-05/0.04516, allocations: 29.66 kB / 323.2 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.04576, allocations: 323.5 kB / 323.5 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.04577, allocations: 15.94 kB / 323.5 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.04613, allocations: 119.2 kB / 323.7 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.04618, allocations: 35.98 kB / 323.7 MB, free: 6.57 MB / 314.7 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.000183/0.04636, allocations: 177.5 kB / 323.9 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.04648, allocations: 71.94 kB / 323.9 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006443/0.04713, allocations: 0.5063 MB / 324.5 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.04714, allocations: 16 kB / 324.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.04714, allocations: 0 / 324.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.04715, allocations: 11.97 kB / 324.5 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.04897, allocations: 1.194 MB / 325.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.04898, allocations: 4 kB / 325.7 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.04949, allocations: 247.6 kB / 325.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.04957, allocations: 59.44 kB / 326 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.109e-05/0.04964, allocations: 24.83 kB / 326 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.04968, allocations: 19.98 kB / 326 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.04969, allocations: 8 kB / 326 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.04969, allocations: 0 / 326 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/0.05048, allocations: 1.013 MB / 327 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.05056, allocations: 20 kB / 327.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.05087, allocations: 47.97 kB / 327.1 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.05098, allocations: 75.73 kB / 327.2 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.05101, allocations: 23.98 kB / 327.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.05113, allocations: 148.7 kB / 327.3 MB, free: 2.844 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05113, allocations: 0 / 327.3 MB, free: 2.844 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007733/0.0519, allocations: 311.2 kB / 327.7 MB, free: 2.539 MB / 314.7 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.0002379/0.05214, allocations: 140.2 kB / 327.8 MB, free: 2.395 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006597/0.0528, allocations: 482.3 kB / 328.3 MB, free: 1.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.689e-05/0.05283, allocations: 16.5 kB / 328.3 MB, free: 1.902 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.05312, allocations: 299.2 kB / 328.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.05388, allocations: 0.7647 MB / 329.3 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007424/0.0613, allocations: 1.515 MB / 330.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.06147, allocations: 182 kB / 331 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004443/0.06191, allocations: 125.4 kB / 331.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.06224, allocations: 199.3 kB / 331.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of SimCode: time 1.412e-06/0.06224, allocations: 4 kB / 331.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of Templates: time 0.01503/0.07728, allocations: 10.24 MB / 341.6 MB, free: 4.52 MB / 330.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0330159971490502]