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.0009037/0.0009037, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009599/0.0009599, allocations: 169.9 kB / 24.91 MB, free: 9.184 MB / 18.57 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.9431/0.9431, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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.2644/0.2644, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.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.603e-06/1.603e-06, allocations: 0 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.832e-05, allocations: 2.312 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.00811/0.008138, allocations: 6.232 MB / 331.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.01241, allocations: 2.256 MB / 333.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.01272, allocations: 23.94 kB / 333.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.01452, allocations: 1.629 MB / 335.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000991/0.01551, allocations: 0.7184 MB / 336.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.01619, allocations: 0.5957 MB / 336.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007529/0.01694, allocations: 1.213 MB / 337.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.01807, allocations: 0.8958 MB / 338.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007021/0.01877, allocations: 0.7327 MB / 339.5 MB, free: 9.324 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.0193, allocations: 0.5025 MB / 340 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.01943, allocations: 108 kB / 340.1 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.01984, allocations: 279.6 kB / 340.4 MB, free: 8.441 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.02, allocations: 270.9 kB / 340.7 MB, free: 8.176 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.02032, allocations: 391 kB / 341.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009751/0.02129, allocations: 1.004 MB / 342.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.0213, allocations: 0 / 342.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.0213, allocations: 0 / 342.1 MB, free: 6.785 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.02131, allocations: 0 / 342.1 MB, free: 6.785 MB / 314.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.002704/0.02401, allocations: 1.623 MB / 343.7 MB, free: 5.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.02404, allocations: 12.03 kB / 343.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006078/0.03012, allocations: 1.565 MB / 345.3 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.03067, allocations: 311.7 kB / 345.6 MB, free: 3.219 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.704e-05/0.03074, allocations: 82.7 kB / 345.6 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004359/0.03117, allocations: 120.4 kB / 345.8 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.03234, allocations: 1.023 MB / 346.8 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.03237, allocations: 8.141 kB / 346.8 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/0.03245, allocations: 48.38 kB / 346.8 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.03247, allocations: 31.94 kB / 346.9 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/0.03326, allocations: 0.5395 MB / 347.4 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.03697, allocations: 2.82 MB / 350.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.03833, allocations: 0.8589 MB / 351.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.03854, allocations: 165.9 kB / 351.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-05/0.03861, allocations: 35.91 kB / 351.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.03864, allocations: 54.33 kB / 351.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.244e-06/0.03864, allocations: 0 / 351.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.0008686/0.03951, allocations: 480.3 kB / 351.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.03959, allocations: 243.3 kB / 352 MB, free: 12.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.03987, allocations: 375 kB / 352.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.03991, allocations: 37.7 kB / 352.5 MB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/0.04036, allocations: 468.4 kB / 352.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.04053, allocations: 305.4 kB / 353.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.04075, allocations: 186.8 kB / 353.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.04086, allocations: 370.7 kB / 353.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.04103, allocations: 102.8 kB / 353.9 MB, free: 10.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.04139, allocations: 467.5 kB / 354.3 MB, free: 9.984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.04199, allocations: 0.5858 MB / 354.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.04199, allocations: 4 kB / 354.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0007871/0.04278, allocations: 0.5757 MB / 355.5 MB, free: 8.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.0428, allocations: 8 kB / 355.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.04281, allocations: 8 kB / 355.5 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.514e-05/0.04289, allocations: 28.84 kB / 355.5 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.04357, allocations: 264 kB / 355.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.04358, allocations: 19.94 kB / 355.8 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/0.044, allocations: 127.2 kB / 355.9 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.04406, allocations: 39.98 kB / 356 MB, free: 8.215 MB / 330.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.0001931/0.04425, allocations: 177.4 kB / 356.1 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.04442, allocations: 71.89 kB / 356.2 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007289/0.04515, allocations: 0.5023 MB / 356.7 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.04516, allocations: 15.98 kB / 356.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.04517, allocations: 0 / 356.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.04518, allocations: 7.984 kB / 356.7 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.04687, allocations: 1.196 MB / 357.9 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.04687, allocations: 0 / 357.9 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.04741, allocations: 195.8 kB / 358.1 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-05/0.04746, allocations: 20.84 kB / 358.1 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.0475, allocations: 19.98 kB / 358.2 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.0475, allocations: 4 kB / 358.2 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.04751, allocations: 4 kB / 358.2 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009098/0.04842, allocations: 1.031 MB / 359.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.04848, allocations: 63.42 kB / 359.3 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.04855, allocations: 23.92 kB / 359.3 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.04899, allocations: 39.98 kB / 359.3 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.0491, allocations: 75.73 kB / 359.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.04915, allocations: 23.98 kB / 359.4 MB, free: 4.691 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.04929, allocations: 148.7 kB / 359.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04929, allocations: 0 / 359.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009764/0.05027, allocations: 315.2 kB / 359.9 MB, free: 4.23 MB / 330.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.000198/0.05047, allocations: 136.2 kB / 360 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.0511, allocations: 465.6 kB / 360.5 MB, free: 3.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/0.05112, allocations: 8.75 kB / 360.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.0514, allocations: 251.7 kB / 360.7 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.05216, allocations: 109.8 kB / 360.8 MB, free: 3.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.0541, allocations: 1.462 MB / 362.3 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.05425, allocations: 170 kB / 362.4 MB, free: 1.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003728/0.05462, allocations: 133.4 kB / 362.6 MB, free: 1.438 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/0.05499, allocations: 191.3 kB / 362.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.05499, allocations: 0 / 362.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01529/0.07028, allocations: 10.24 MB / 373 MB, free: 7.137 MB / 346.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2529472280293703]